Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!usc!aero-c!gumby.dsd.trw.com!trwind!venice!press From: press@venice.SEDD.TRW.COM (Barry Press) Newsgroups: comp.windows.ms.programmer Subject: Re: Iconic Windows Message-ID: <1124@venice.SEDD.TRW.COM> Date: 12 Jun 91 20:21:53 GMT References: <1991Jun12.131526.207@minyos.xx.rmit.oz.au> <1991Jun12.193240.22429@athena.mit.edu> Reply-To: press@venice.sedd.trw.com (Barry Press) Organization: TRW Systems Engineering & Development Division, Redondo Beach, CA Lines: 15 In article <1991Jun12.193240.22429@athena.mit.edu> memetral@athena.mit.edu (Max E. Metral) writes: >Hello Again folks. This time, I'm trying to create an application that >stays as an Icon, like Screen Peace. I tried using There are two things to do. First, you have to pass the right SW_ code to ShowWindow, not the value Windows passes you. I don't have the manuals handy, but if I recall right it's something like SW_ICONNOACTIVE (also won't activate the app). The second thing is that you have to field the message that asks if it's ok to open the window from an icon (WM_QUERYOPENICON or something close), and respond with the value that says 'no thanks'. -- Barry Press Internet: press@venice.sedd.trw.com