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:
00052606
Views:
54
>>What happens when you have 2 windows with the same title?
>
>Why would you have two windows with the same title in the first place.
>That'd be bad UI if you ask me. :}

Yes and no. Basically, nothing stops us from having 2 windows with the same name (ie, the window title is not a unique id). So, this may be a problem. Sometimes, the window title is not important for the app purpose. Not really important, I just wanted to know if you have a way of dealing with it.

>My guess is it'd go based on the current Window stack topmost down.
>But I haven't verified that. There's another function in there that
>uses the currently active window instead of the title...

Yes, but the results are at least weird... in VFP. :)

Vlad
Previous
Reply
Map
View

Click here to load this message in the networking platform