Bryan Benetti wrote:
> Hi,
>
> This is for a application we're making for Windows XP, and Vista.
>
> Is there a API function to detect where your window is in the Z order? And
> then move it to the top?
>
> I went through the MSDN but nothing stood out to me. But, then I might have
> passed it by.
>
> I have a window that needs to be topmost at all times. But if another topmost
> window is open it could cover my window. I need a way to detect if my topmost
> window is covered and then either get topmost again or move my window to
> another part of the screen so its visible.
>
> Is there anyway to detect if a window is partially or fully covering another
> window?
>
> Thanks for the help!
>
> -bryan
> _________________________________________________________________
I don't know about detecting if it's covered, but the Windows
Functionality Suite provides a BringToFront method. Couldn't you just
call that in a timer or the Activate event, or some other event?
Best of luck,
Fargo
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|