Path: 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 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