Contents Index Topic Contents | ||
Previous Topic: IDocHostShowUI Interface Next Topic: IDocHostShowUI::ShowMessage |
IDocHostShowUI::ShowHelp
HRESULT STDMETHODCALLTYPE ShowHelp( HWND hwnd, LPOLESTR pszHelpFile, UINT uCommand, DWORD dwData, POINT ptMouse, IDispatch *pDispatchObjectHit );Called by IE4/MSHTML when it needs to show Help.
- Return Values:
S_OK Host displayed Help. IE4/MSHTML will not display its Help. S_FALSE Host did not display Help. IE4/MSHTML will display its Help.
- hwnd
- Handle to the owner window.
- pszHelpFile
- Help file name.
- uCommand
- Type of Help. See the WinHelp function.
- dwData
- Additional data. See the WinHelp function.
- ptMouse
- Mouse position in screen coordinates.
- pDispatchObjectHit
- IDispatch of the object at the screen coordinates.
The first four parameters are the same as those passed to the WinHelp function. The ptMouse parameter gives the screen coordinates, and the pDispatchObjectHit parameter allows the host to differentiate the object at the screen coordinates to a greater degree than IE4/MSHTML.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.