Article View: comp.os.ms-windows.programmer.misc
Article #2592Re: Getting rid of Help Engine on WM_SYSCOMMAND ?!
From: Blake Coverett
Date: Fri, 08 Jan 1993 05:54
Date: Fri, 08 Jan 1993 05:54
29 lines
1737 bytes
1737 bytes
In article <1993Jan7.162242.7587@tandem.com> stu@Tandem.COM writes: >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! WM_CLOSE is the normal place to handle this. It works for me. >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! Hmm... I just tried this with Word, Excel, PowerPoint and Access and they all close the help engine correctly when you exit via the system menu. Which MS apps are you talking about? -Blake (alright, so I'm being defensive) -- #include <std/disclaimer.h> blakeco@microsoft.com Mail Flames, Post Apologies. ...!uunet!microsoft!blakeco
Technical Details
Message-ID:
<1993Jan08.055432.18267@microsoft.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!microsoft!hexnut!blakecoReferences:
<1993Jan7.162242.7587@tandem.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc Path: arc1-ca.pugleaf.net!sparky!uunet!microsoft!hexnut!blakeco From: blakeco@microsoft.com (Blake Coverett) Subject: Re: Getting rid of Help Engine on WM_SYSCOMMAND ?! Message-ID: <1993Jan08.055432.18267@microsoft.com> Date: 08 Jan 93 05:54:32 GMT Organization: Microsoft Canada Inc. References: <1993Jan7.162242.7587@tandem.com> Lines: 29