Path: utzoo!censor!geac!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!jarthur!jseidman From: jseidman@jarthur.Claremont.EDU (James Seidman) Newsgroups: comp.windows.ms.programmer Subject: Re: Hiding an icon Message-ID: <10414@jarthur.Claremont.EDU> Date: 23 Jan 91 05:24:04 GMT References: <10382@jarthur.Claremont.EDU> <14607@june.cs.washington.edu> <6754@hsv3.UUCP> Reply-To: jls@hsv3.UUCP Organization: Headland Technology, Fremont, CA Lines: 19 jls@hsv3.UUCP (James Seidman) writes: >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! Actually, it's even worse than that. I can get the handle by doing a hCaption=GetNextWindow(hWnd, GW_HWNDPREV). But even if I sit there and do ShowWindow(hCaption, SW_HIDE) all day, the stupid window won't disappear! If I try to do a DestroyWindow(hCaption) then next time I restore and minimize the window, the system hangs (no, I'm not trying to destroy the same window again). There must be some way to do this! -- Jim Seidman, Headland Technology, 46221 Landing Parkway, Fremont CA 94538 UUCP: ames!vsi1!headland!jls INTERNET: hsv3!jls@apple.com "Love your enemy, smite your enemy, you still need an enemy!" -Joseph, in "Heart of the World"