Article View: comp.os.os2.programmer
Article #3352persistent hide state
From: Kenneth Porter
Date: Fri, 08 Jan 1993 02:24
Date: Fri, 08 Jan 1993 02:24
7 lines
772 bytes
772 bytes
I want my application to remember it's hidden state across invokations. It's not a WPS app, so it can't use the class hierarchy to do this. My thought was that I could intercept some message indicating hide/show state and save it to an ini file. This currently doesn't quite work for me: I'm intercepting WM_SHOW, but I get a hide message (WM_SHOW with mp1=false) when the application closes while visible. Has someone else already done this? What's the trick?
Technical Details
Message-ID:
<C0IK1L.33D@well.sf.ca.us>Path:
arc1-ca.pugleaf.net!sparky!uunet!well!shivaShow Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!well!shiva From: shiva@well.sf.ca.us (Kenneth Porter) Subject: persistent hide state Message-ID: <C0IK1L.33D@well.sf.ca.us> Sender: news@well.sf.ca.us Organization: Whole Earth 'Lectronic Link Date: Fri, 8 Jan 1993 02:24:56 GMT Lines: 7