home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: 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
-
- 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?
-