Article View: borland.public.cppbuilder.nativeapi
Article #15584Re: about get window by pos.
From: Vladimir Afanasyev
Date: Fri, 27 Jun 2003 10:43
Date: Fri, 27 Jun 2003 10:43
19 lines
1515 bytes
1515 bytes
Hi Siney, "Siney San" <siney@yeah.net> wrote: >hello everyone: > >I used WindowFromPoint to get window by pos.Generally, it works fine.But >that api can't get gray window(disable).Somepeople said to use >RealChildWindowFromPoint, I tried,no effect. May be you mean ChildWindowFromPoint or ChildWindowFromPointEx. The last (ChildWindowFromPointEx) may be help. In another case you can try to enumerate all windows and childs via EnumWindows and EnumChildWindows. And use GetWindowRect for every window to find set of windows that have this point. Vladimir.
Technical Details
Message-ID:
<3efc1fb7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3efbf96b@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,5a7ad1e748c52c2b X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-06-27 03:46:13 PST From: "Vladimir Afanasyev" <avv@systema.kiev.ua> Sender: "Vladimir Afanasyev" <avv@systema.kiev.ua> Reply-To: "Vladimir Afanasyev" <avv@systema.kiev.ua> Subject: Re: about get window by pos. Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 62.244.14.114 62.244.14.114 X-Forwarded-For: 192.168.0.147 References: <3efbf96b@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3efc1fb7$1@newsgroups.borland.com> Date: 27 Jun 2003 03:43:03 -0700 X-Trace: newsgroups.borland.com 1056710583 207.105.83.65 (27 Jun 2003 03:43:03 -0700) Lines: 20 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail