General information
Category:
Windows API functions
Title:
How may I know is window modal
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only