>>How can I hide the visual foxpro window?
>>
>>The problem I have been having is that my users with a screen size
>>larger that 640x480 (res) can see the VFP window behind my program.
>>With that window they can bring up other forms that are invisible.
>>This causes a lot of trouble... I need to either make the VFP menu disabled or invisible while my program is running.
>>
>>Thanks.
>
>Try this, _SCREEN.VISIBLE = .F.
>To put VFP menu disabled write SET SYSMENU OFF
>
>I hope this help, Luis.
Using SCREEN = OFF in the config.fpw file might be a better choice if you want to prevent the user from ever seeing the main vfp window, especially during starting the program. You might want to include the config.fpw file in the project as well, so that the configuration is compiled into your executable. You would still be able to use _SCREEN.VISIBLE in other parts of the program to toggle on/off the main window.
Ryan Hirschey