realbasic-nug
[Top] [All Lists]

RE: Detect where window is in Z order.

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: RE: Detect where window is in Z order.
From: Bryan Benetti <stopmotion24 at hotmail dot com>
Date: Fri, 30 May 2008 15:42:14 -0600
Authentication-results: mx.google.com; spf=pass (google.com: domain of realbasic-nug-bounces at lists dot realsoftware dot com designates 66.116.103.65 as permitted sender) smtp dot mail=realbasic-nug-bounces at lists dot realsoftware dot com
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Importance: Normal
Fargo,

Thank you for the idea. I wll try it out and see how it works.

Would be cool though if there was some way to detect if a window is overlaping 
your applications window. So if anyone has any experince with that please email 
me.

Thanks again.

Best Regards,
-bryan
----------------------------------------
> Date: Fri, 30 May 2008 11:52:34 -0700
> From: fargo at rpgportland dot com
> To: realbasic-nug at lists dot realsoftware dot com
> Subject: Re: Detect where window is in Z order.
>
> 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:
>
>
> Search the archives:
>

_________________________________________________________________
Keep your kids safer online with Windows Live Family Safety.
http://www.windowslive.com/family_safety/overview.html?ocid=TXT_TAGLM_WL_Refresh_family_safety_052008
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>