CHtmlView::ExecWB

Call this member function to execute a command in the WebBrowser or Internet Explorer.

void ExecWB(
   OLECMDID cmdID,
   OLECMDEXECOPT cmdexecopt,
   VARIANT* pvaIn,
   VARIANT* pvaOut 
);

Parameters

  • cmdID
    The command to execute.

  • cmdexecopt
    The options set for executing the command.

  • pvaIn
    A variant used for specifying command input arguments.

  • pvaOut
    A variant used for specifying command output arguments.

Remarks

See IWebBrowser2::ExecWB in the Windows SDK.

Requirements

Header: afxhtml.h

See Also

Concepts

CHtmlView Class

CHtmlView Members

Hierarchy Chart

CHtmlView::Stop