共用方式為


CDHtmlDialog::ShowUI

Shows the host's UI.

STDMETHOD(ShowUI)( 
   DWORD dwID, 
   IOleInPlaceActiveObject * pActiveObject, 
   IOleCommandTarget * pCommandTarget, 
   IOleInPlaceFrame * pFrame, 
   IOleInPlaceUIWindow * pDoc  
);

Parameters

  • dwID
    See dwID in IDocHostUIHandler::ShowUI in the Windows SDK.

  • pActiveObject
    See d pActiveObject in IDocHostUIHandler::ShowUI in the Windows SDK.

  • pCommandTarget
    See pCommandTarget in IDocHostUIHandler::ShowUI in the Windows SDK.

  • pFrame
    See pFrame in IDocHostUIHandler::ShowUI in the Windows SDK.

  • pDoc
    See pDoc in IDocHostUIHandler::ShowUI in the Windows SDK.

Return Value

Returns S_FALSE.

Remarks

This member function is CDHtmlDialog's implementation of IDocHostUIHandler::ShowUI, as described in the Windows SDK.

Requirements

Header: afxdhtml.h

See Also

Reference

CDHtmlDialog Class

Hierarchy Chart

IDocHostUIhandler Interface

CDHtmlDialog::HideUI