SINK_ENTRY_EX

SINK_ENTRY_EX ( id, iid, dispid, fn )

Parâmetros

identificação

[no] Identifica o controle.

iid

[no] Identifica a interface dispatch.

dispid

[no] Identifica o evento especificado.

fn

[no] Nome da função de manipulador de evento. Esta função deve usar o stdcall Convenção de chamada.

Observações

Declara a função de manipulador (fn) para o evento especificado (dispid), da expedição interface (iid), para o Controlarar identificado por id.

Exemplo

BEGI&N_SINK_MAP(CMyObj)
 nbsp; SINK_ENTRY_EX (IDC_CIRCCTL1, CIRCLib::DIID__CircEvents, DISPID_CLICK,
      OnClick_CircCtrl1)
   SINK_ENTRY_EX (IDC_CIRCCTL2, CIRCLib::DIID__CircEvents, DISPID_CLICK,
      OnClick_CircCtrl2)
END_SINK_MAP()

ATL Macros e funções Global

Ver também

Fundamentos de controle composto, BEGIN_SINK_MAP, SINK_ENTRY

Index