Article View: borland.public.cppbuilder.nativeapi
Article #5861Re: Hiding Application from Taskbar but keep it visible at all times even after show desktop is pressed
From: Bob Gonder
Date: Tue, 28 Jun 2005 00:41
Date: Tue, 28 Jun 2005 00:41
19 lines
1798 bytes
1798 bytes
Remy Lebeau (TeamB) wrote: >As far as I know, there is no way to know when the "Show Desktop" button is >clicked. All it does is loops through the available windows hiding/showing >them as needed, which is no different than when the user does it maually. >Even then, if you could intercept the window being hidden, I don't think you >can prevent the OS from hiding it. Yes, the OS is pretty tuff about that... case WM_SIZE: if( wParam==SIZE_MINIMIZED) ShowWindow(hWnd,SW_SHOWNORMAL); break; When you press minimize button, window pops back after minimizing. When you click ShowDesktop icon, app closes/opens/closes. I think if you placed a timer there instead, and poped back after a timeout, it'd work.
Technical Details
Message-ID:
<ov61c19tgnmtenmo6ifa88tu0p6963u6fr@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42bff8d3@newsgroups.borland.com> <42c04866$4@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f3b59fbc8b1645f0 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Hiding Application from Taskbar but keep it visible at all times even after show desktop is pressed Date: Mon, 27 Jun 2005 17:41:44 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <ov61c19tgnmtenmo6ifa88tu0p6963u6fr@4ax.com> References: <42bff8d3@newsgroups.borland.com> <42c04866$4@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.77.146.237 X-Trace: newsgroups.borland.com 1119919302 67.77.146.237 (27 Jun 2005 17:41:42 -0700) Lines: 21 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail