To query and set object-specific help for an instance of the object override wpQueryDefaultHelp and wpSetDefaultHelp.
The wpQueryDefaultHelp method queries the default help panel ID and help library for this instance of the object class, as shown in the following figure: It automatically returns the class default help, if no object-specific help has been provided.
wpQueryDefaultHelp (WPObject *somSelf, PULONG pHelpPanelId, PSZ HelpLibrary) where pHelpPanelId - Pointer to the help panel ID HelpLibrary - Help library name returned in the buffer
The wpSetDefaultHelp method sets the default help panel ID and help library for this instance of the object class, as shown in the following figure: It allows different instances to have different helps displayed. Using the value zero for HelpPanelId and NULL for HelpLibrary, will reset the object to the default class help panel.
wpSetDefaultHelp (WPObject *somSelf, ULONG HelpPanelId, PSZ HelpLibrary) where HelpPanelId - Help panel identity HelpLibrary - Help library name returned in the buffer