Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How may I know is window modal
Message
De
10/11/2004 10:34:54
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
How may I know is window modal
Divers
Thread ID:
00960006
Message ID:
00960006
Vues:
51
Hi,
I try find modal window in app... I use peace of code

lnHWNDPArent = GetWindowLOng(hwndChild,GWL_HWNDPARENT)
lnWinStyle = GetWindowLong(hWndParent,GWL_STYLE)
lnBitAndResult = BITAND(lnWinStyle,WS_DISABLED)

IF lnBitAndResult!=0
? "Window Modal"
ELSE
? "Window Modaless"
ENDIF

But lnBitAndResult always = 0, even if I have modal forms.
Any help

Denis
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform