Article View: borland.public.cppbuilder.nativeapi
Article #16278Re: How do you toggle the desktop?
From: Remy Lebeau (TeamB)
Date: Sun, 25 May 2003 21:02
Date: Sun, 25 May 2003 21:02
18 lines
1812 bytes
1812 bytes
"Troels Jakobsen" <dont@like.spam> wrote in message news:3ed08dca$1@newsgroups.borland.com... > No, GetDesktopWindow returns the window which > contains the listview, not the listview itself. In that case, your earlier code sample is still a little off because it does not get the HWND of the actual ListView itself. After verifying with Spy++ what you said, I see that you are obtaining the HWND of a class named "SHELLDLL_DefView", which is a child of the Program Manager. That shell window is the owner of the actual ListView (classname "SysListView32"). It is not the ListView itself. You need to add an extra GetWindow() or FindWindowEx() to get the HWND of the actual ListView once you have the containing owner. Gambit
Technical Details
Message-ID:
<3ed12ee1$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3ecbd859$1@newsgroups.borland.com> <3ecbdb66@newsgroups.borland.com> <3ed07404$1@newsgroups.borland.com> <3ed07d00@newsgroups.borland.com> <3ed08dca$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,9be69064bb610d89 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-25 14:06:07 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3ecbd859$1@newsgroups.borland.com> <3ecbdb66@newsgroups.borland.com> <3ed07404$1@newsgroups.borland.com> <3ed07d00@newsgroups.borland.com> <3ed08dca$1@newsgroups.borland.com> Subject: Re: How do you toggle the desktop? Date: Sun, 25 May 2003 14:02:50 -0700 Lines: 20 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.1165 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3ed12ee1$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1053896417 207.175.226.26 (25 May 2003 14:00:17 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail