Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using _menu dialogs in compiled executables
Message
From
22/07/1998 08:39:50
Brian Gruselle
Diversified Data Systems Inc.
Green Bay, Wisconsin, United States
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00119659
Message ID:
00120109
Views:
23
>Brian,
>
>Are you using a Top-Level form and setting _screen.Visible = .f.? If so, make the _screen temporarily visible off screen to get the dialogs to display:
>
>with _screen
> .Left = -10000
> .Top = -10000
> .Visible = .t.
>endwith
>
>DoYourDialog
>
>_screen.Visible = .f.
>
David,

Are you suggesting that these dialogs are appearing underneath the top level form of my application?

The dialogs I am trying to invoke were added to my application menu by first creating a 'quick' menu, looking in the menu designer and copying the commands that were produced in the quick menu. (ie. _mfi_pgset for print setup, or _mfi_export for file export).

These commands do work if I run my executable from within the VFP command window but they do not work if I run my executable from the windows desktop. This is what makes me think I am failing to reproduce some aspect of the VFP environment in the environment of my compiled executable.

Thanks for your reply,

Brian Gruselle
Diversified Data Systems Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform