🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Hiding an icon

#1110
From: James Seidman
Date: Tue, 22 Jan 1991 17:14
23 lines
1740 bytes
In article <14607@june.cs.washington.edu> slh@wolf.cs.washington.edu (Scott Heyano) writes:
>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.

Actually, I can't do that.  I'm trying to hide the window from inside
the SIZEICONIC case of the WM_SIZE message.  If I restore the window,
I'll get a new WM_SIZE message with a SIZENORMAL.  This will set off a
whole new set of processes as I position child windows, etc.  

If I could get a handle to that little caption window then I could just
hide it explicitly.  But even EnumTaskWindows() won't seem to get me the
right handle!  Aargh!

-- 
Jim Seidman (Drax), the accidental engineer.
"There's a certain freedom to being completely screwed." - The Freshman
UUCP: ames!vsi1!hsv3!jls	      Internet: hsv3.UUCP!jls@apple.com
Technical Details
Message-ID: <6754@hsv3.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!vsi1!hsv3!jls
References: <10382@jarthur.Claremont.EDU> <14607@june.cs.washington.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!vsi1!hsv3!jls
From: jls@hsv3.UUCP (James Seidman)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Hiding an icon
Message-ID: <6754@hsv3.UUCP>
Date: 22 Jan 91 17:14:09 GMT
References: <10382@jarthur.Claremont.EDU> <14607@june.cs.washington.edu>
Reply-To: jls@hsv3.UUCP (James Seidman)
Organization: Video Seven / Headland Technology
Lines: 23