Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!snorkelwacker.mit.edu!mit-eddie!uw-beaver!uw-june!wolf.cs.washington.edu!slh From: slh@wolf.cs.washington.edu (Scott Heyano) Newsgroups: comp.windows.ms.programmer Subject: Re: Hiding an icon Message-ID: <14607@june.cs.washington.edu> Date: 22 Jan 91 07:13:58 GMT References: <10382@jarthur.Claremont.EDU> Sender: news@cs.washington.edu Reply-To: slh@wolf.cs.washington.edu (Scott Heyano) Organization: Computer Science & Engineering, U. of Washington, Seattle Lines: 17 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? | I don't know what the right way is, but you could hide the window and restore it, possibly in the same call, depending if windows does the smart thing. |Bonus question: does anyone know anything about the WM_QUERYPARKICON |message? You can see it in Spy if you spy on an icon and then select |"Arrange Icons" from the Task Manager. | Guess: it is asking for an icon to display while minimized try creating a class w/o an icon and if you get this msg return the handle of an icon