Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using _menu dialogs in compiled executables
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00119659
Message ID:
00121899
Vues:
22
>>Hi David,
>>
>>I found this gotcha while developing a small utility not too long ago. :-) It seems to me the "system" dialogs should be of "desktop" type, not requiring a visible application desktop to display on their own accord. Do you happen to know why they do?
>>
>>Bill
>>
>Bill,
>
>I trust that David will correct me if I'm wrong here, so take this with a grain of salt.
>
>I believe what's happening is that this dialog (and other's, such as GETFILE()) are inheriting the parent's visibility (in this case FoxPro's main window), even though they're invoked by a call to the API. Calls to the same dialogs via the Common Dialogs ActiveX control, apparently do not get the parent's window handle (and state) passed to them. Therefore, they are unaffected by the parent window's current status.
>
>Again, this is a guess on my part, but it seems to make sense.

Hi George,

Thanks for the response, and it does make sense. But see D. Frankenbach's response to me. It just seems that "system" dialogs should be designed so they do not depend on an application "desktop".

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform