Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How may I know is window modal
Message
From
11/11/2004 10:48:58
 
 
To
10/11/2004 10:34:54
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00960006
Message ID:
00960454
Views:
10
Hi Denis,

Try with this:

Regards,

#DEFINE GWL_EXSTYLE 0xffffffec
#DEFINE WS_EX_DLGMODALFRAME 0x00000001

DECLARE INTEGER GetWindowLong IN Win32API INTEGER hWnd, INTEGER nIndex
lResult = GetWindowLOng( hWnd, GWL_EXSTYLE )

IF( BITAND( lResult, WS_EX_DLGMODALFRAME ) <> 0 )
MESSAGEBOX("SI")
ELSE
MESSAGEBOX("NO")
ENDIF
Previous
Reply
Map
View

Click here to load this message in the networking platform