Article View: borland.public.cppbuilder.nativeapi
Article #15462Re: about get window by pos.
From: Remy Lebeau (TeamB)
Date: Sun, 29 Jun 2003 17:40
Date: Sun, 29 Jun 2003 17:40
27 lines
2050 bytes
2050 bytes
"Siney San" <siney@yeah.net> wrote in message news:3efefd50@newsgroups.borland.com... > your code can't work fine yet Yes, it does. I tested it numerous times under several different scenerios. > not only disabled window can't grab,but also > some normal window can't grab. Please post *your* actual code that does not work for you. And please explain, in detail, exactly how you are testing it, exactly what you are trying to do with it, and exactly how you are determining that it does not work. > your code use func "GetDesktopWindow()" and > ChildWindowFromPoint must pass a parent as > argument, I think desktopwindow isn't any window's > parent, don't it? Yes, it is. The Desktop is the top-most parent window for all other top-level windows. As I said, the code I posted last night worked fine for me. Gambit
Technical Details
Message-ID:
<3eff23a0$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3efbf96b@newsgroups.borland.com> <3efc70d0@newsgroups.borland.com> <3efd6a06@newsgroups.borland.com> <3efdf892@newsgroups.borland.com> <3efe571b@newsgroups.borland.com> <3efe7016@newsgroups.borland.com> <3efefd50@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-29 10:40:51 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3efbf96b@newsgroups.borland.com> <3efc70d0@newsgroups.borland.com> <3efd6a06@newsgroups.borland.com> <3efdf892@newsgroups.borland.com> <3efe571b@newsgroups.borland.com> <3efe7016@newsgroups.borland.com> <3efefd50@newsgroups.borland.com> Subject: Re: about get window by pos. Date: Sun, 29 Jun 2003 10:40:56 -0700 Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3eff23a0$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1056908192 207.175.226.26 (29 Jun 2003 10:36:32 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail