Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining if a window is top most
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00173267
Message ID:
00173293
Views:
43
>Is it possible to query a window to determine if it has been set as a top most window? I.e. if SetWindowPos() is used to set a window as top most ( HWND_TOPMOST ), is there an API function to query that window to determine if it is a top most window?
>
>Thanks,

Hi Bill,

You don't mean that you want the current foreground window (GetForegroundWindow), right? You can test if a window is a child window (IsChild), or loop through the windows like I do with the Is_Run function. That retrieves the handles of parent windows (top most) only.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform