Article View: borland.public.cppbuilder.nativeapi
Article #16269Re: How do you toggle the desktop?
From: Remy Lebeau (TeamB)
Date: Sun, 25 May 2003 08:23
Date: Sun, 25 May 2003 08:23
19 lines
1647 bytes
1647 bytes
"Troels Jakobsen" <dont@like.spam> wrote in message
news:3ed07404$1@newsgroups.borland.com...
> The desktop is actually just a listview, so if you find
> its handle you can show and hide it
That is not what was originally asked for. Toggling the desktop does not
hide its icons, only minimizes/restores the window on it.
> DesktopListView = FindWindowEx(FindWindow("Progman", null),
> HWND(0), "ShellDll_DefView", null);
You could just use the GetDesktopWindow() function instead:
DesktopListView = GetDesktopWindow();
Gambit
Technical Details
Message-ID:
<3ed07d00@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-out.visi.com!petbe.visi.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>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 01:25:43 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> Subject: Re: How do you toggle the desktop? Date: Sun, 25 May 2003 01:23:59 -0700 Lines: 21 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: <3ed07d00@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1053850880 207.175.226.26 (25 May 2003 01:21:20 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail