Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the easiest way to get Window handle value?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00051377
Message ID:
00052087
Views:
52
>As a side note, I previously tried retrieving the window handle using the GetTopWindow API call in the form's Activate event. Surprisingly, the window handles for the two elements of the array were identical. I'd like someone to explain that one to me.

If the handles are the same, they are both for the same window (different windows have always different handles). In this case (probably) when the Activate event occurs, the window is not "on top" yet. So, the handle is not for the current form.

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform