Article View: comp.os.ms-windows.programmer.misc
Article #2553Getting rid of Help Engine on WM_SYSCOMMAND ?!
From: Stuart Phillips
Date: Thu, 07 Jan 1993 16:22
Date: Thu, 07 Jan 1993 16:22
23 lines
1385 bytes
1385 bytes
I have an application with associated help. When the user exits the application via the File|Exit command, I call WinHelp() with HELP_QUIT in order to cause the help engine to close its window and exit. This works just fine. However, if the use exits via the close menu item on the windows system menu, I can't get rid of the darn help engine! I've tried processing the WM_SYSCOMMAND message and looking for the SC_CLOSE event; I process it just fine, call WinHelp() with HELP_QUIT but the help engine stays around! I started trying commercial window applications and have found that all Microsoft applications exhibit the same behavior I'm experiencing. Borland applications such as the Resource Workshop and the IDE however, correctly dispose of the help engine no matter how they are exited! Anyone have the magic cookie recipe to get rid of help after a System Menu close ????? Thanks! Stu
Technical Details
Message-ID:
<1993Jan7.162242.7587@tandem.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!ames!pacbell.com!tandem!Tandem.COM!stuShow Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!ames!pacbell.com!tandem!Tandem.COM!stu From: stu@Tandem.COM (Stuart Phillips) Subject: Getting rid of Help Engine on WM_SYSCOMMAND ?! Message-ID: <1993Jan7.162242.7587@tandem.com> Sender: news@tandem.com Nntp-Posting-Host: av8r.cpd.tandem.com Reply-To: stu@Tandem.COM Organization: Tandem Computers, Cupertino - USA Date: Thu, 7 Jan 1993 16:22:42 GMT Lines: 23