🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #1188

Re: Hiding an icon

#1188
From: David D'SOUZA
Date: Sun, 27 Jan 1991 23:25
19 lines
1223 bytes
In article <10382@jarthur.Claremont.EDU> jls@hsv3.UUCP writes:
>
>I'm trying to hide a minimized window so that it doesn't appear on the
>screen at all.  My thought was to just do a ShowWindow(hWnd, SW_HIDE).
>Unfortunately, this only hides the icon itself, and not the little caption
>underneath it.  Is there some elegant (meaning easy) way to do this?

Sure, you should pass the WM_SHOWWINDOW message on to DefWindowProc. 
We'll take care of everything for you there. You can look at the
message and do what ever you are currently doing but make sure you also
let DefWindowProc see it.

>Bonus question:  does anyone know anything about the WM_QUERYPARKICON
>message?  

Yes. But since it's not documented, I wouldn't want anyone to assume
anything which will break them.

-Dave
Technical Details
Message-ID: <70254@microsoft.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!microsoft!davidds
References: <10382@jarthur.Claremont.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!microsoft!davidds
From: davidds@microsoft.UUCP (David D'SOUZA)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Hiding an icon
Message-ID: <70254@microsoft.UUCP>
Date: 27 Jan 91 23:25:46 GMT
References: <10382@jarthur.Claremont.EDU>
Reply-To: davidds@microsoft.UUCP (David D'SOUZA)
Organization: Microsoft Corp., Redmond WA
Lines: 19