Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How may I know is window modal
Message
From
10/11/2004 10:34:54
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
How may I know is window modal
Miscellaneous
Thread ID:
00960006
Message ID:
00960006
Views:
50
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
Next
Reply
Map
View

Click here to load this message in the networking platform