Information générale
Catégorie:
Fonctions Windows API
>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement