Condividi tramite


CHtmlView::ExecFormsCommand

Esegue il comando specificato utilizzando il metodo IOleCommandTarget::Exec.

HRESULT ExecFormsCommand(
   DWORD dwCommandID,
   VARIANT* pVarIn,
   VARIANT* pVarOut
);

Parametri

  • dwCommandID
    Comando da eseguire.Questo comando deve appartenere al gruppo CMDSETID3_Forms3.

  • pVarIn
    Puntatore a una struttura VARIANT contenente gli argomenti di input.Può essere NULL.

  • pVarOut
    Puntatore a una struttura VARIANT riceva l'output del comando.Può essere NULL.

Valore restituito

Un valore standard HRESULT.Per un elenco completo dei valori possibili, vedere IOleCommandTarget::Exec in Windows SDK.

Note

ExecFormsCommand implementa il comportamento del metodo IOleCommandTarget::Exec.

Requisiti

Header: afxhtml.h

Vedere anche

Riferimenti

Classe di CHtmlView

Grafico della gerarchia

CHtmlView::QueryFormsCommand