IDocHostShowUI::ShowMessageIDocHostShowUI::ShowMessage*
*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.

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).

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.