Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!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: <14617@june.cs.washington.edu> Date: 22 Jan 91 22:49:03 GMT References: <10382@jarthur.Claremont.EDU> <14607@june.cs.washington.edu> <6754@hsv3.UUCP> 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 <6754@hsv3.UUCP> jls@hsv3.UUCP (James Seidman) writes: [stuff] |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. | Again maybe not the best solution, but a solution: just set a flag and check it when you get that first SIZENORMAL. |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! | Did you check for it being a child of the window it is associated with or that it is owned by that window (though not a child).