Article View: borland.public.cppbuilder.nativeapi
Article #5662Re: How to find Window Z-Ordering ??
From: JD
Date: Mon, 01 Aug 2005 18:15
Date: Mon, 01 Aug 2005 18:15
18 lines
1360 bytes
1360 bytes
"David" <davids@unite.com.au> wrote:
>
> Given a set of handles to windows how can I find the Z-
> ordering of these windows ??
I'll leave the exact usage that you want as an excercise
for you but this is how one gets the z-order for an
application:
HWND hWnd = ::GetTopWindow( Application->MainForm->Handle );
while( hWnd )
{
// vZOrder.push_back( hWnd );
hWnd = ::GetNextWindow( hWnd, GW_HWNDNEXT );
}
~ JD
Technical Details
Message-ID:
<42ee66ba$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42ed8d26$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,42c858778c40ab7 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "JD" <nospam@nospam.com> Sender: "JD" <nospam@nospam.com> Reply-To: "JD" <nospam@nospam.com> Subject: Re: How to find Window Z-Ordering ?? Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 205.188.116.135 X-Forwarded-For: 172.144.245.110 References: <42ed8d26$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <42ee66ba$1@newsgroups.borland.com> Date: 1 Aug 2005 11:15:22 -0700 X-Trace: newsgroups.borland.com 1122920122 207.105.83.66 (1 Aug 2005 11:15:22 -0700) Lines: 19 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail