The wxHelpInstance class implements the interface by which applications may invoke wxHelp to provide on-line help. Each instance of the class maintains one connection to an instance of wxHelp which belongs to the application, and which is shut down when the Quit member of wxHelpInstance is called (for example in the OnClose member of an application's main frame). Under Windows 3, there is currently only one instance of wxHelp which is used by all applications.
Since there is a DDE link between the two programs, each subsequent request to display a file or section uses the existing instance of wxHelp, rather than starting a new instance each time. wxHelp thus appears to the user to be an extension of the current application. wxHelp may also be invoked independently of a client application.
Normally an application will create an instance of wxHelpInstance when it starts, and immediately call Initialize to associate a filename with it. wxHelp will only get run, however, just before the first call to display something. See the test program supplied with the wxHelp source.
Include the file wx_help.h to use this API, even if you have included wx.h.
If you give TRUE to the constructor, you can use the native help system where appropriate (currently under Windows only). Omit the file extension to allow wxWindows to choose the appropriate file for the platform.
wxHelpInstance::wxHelpInstance
wxHelpInstance::~wxHelpInstance
wxHelpInstance::DisplayContents
wxHelpInstance::DisplaySection