Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Window handles - how to determine the value
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00237075
Message ID:
00237219
Views:
12
Ed,

But mainhwnd() is just as easy and doesn't require VFP being the active window at the time.

>In addition, you can use the extrememly simple GetActiveWindow API call as long as VFP has focus:
>
>DECLARE INTEGER GetActiveWindow IN WIN32API
>nhWnd = GetActiveWindow()
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform