Contents Index Topic Contents | ||
Previous Topic: IDocHostShowUI::ShowHelp Next Topic: Dependencies |
IDocHostShowUI::ShowMessage
HRESULT ShowMessage( HWND hwnd, LPOLESTR lpstrText, LPOLESTR lpstrCaption, DWORD dwType, LPOLESTR lpstrHelpFile, DWORD dwHelpContext, LRESULT *plResult );Called by IE4/MSHTML when it needs to display a message box.
- Return Values:
S_OK Host displayed its UI. IE4/MSHTML will not display its message box. S_FALSE Host did not display its UI. IE4/MSHTML will display its message box.
- hwnd
- Handle to the owner window.
- lpstrText
- Text for the message box.
- lpstrCaption
- Caption for the message box.
- dwType
- Type flags (taken from the MessageBox MB_xxxx constants).
- lpstrHelpFile
- Help file name.
- dwHelpContext
- Help context identifier.
- plResult
- Button clicked by user (taken from the MessageBox IDxxx constants).
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.