Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Window handles - how to determine the value
Message
From
03/07/1999 14:16:19
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00237075
Message ID:
00237232
Views:
9
>Ed,
>
>But mainhwnd() is just as easy and doesn't require VFP being the active window at the time.
>

No question that mainhwnd() is useful, but it does require FOXTOOLS.FLL; GetActiveWindow is always there as a part of the Win32 environment.

>>In addition, you can use the extrememly simple GetActiveWindow API call as long as VFP has focus:
>>
>>DECLARE INTEGER GetActiveWindow IN WIN32API
>>nhWnd = GetActiveWindow()
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform