CComControlBase::DoVerbProperties
Exibe as páginas de propriedades do controle.
HRESULT DoVerbProperties(
LPCRECT /* prcPosRect */,
HWND hwndParent
);
Parâmetros
prcPosRec
Reservado.hwndParent
Identificador de janela que contém o controle.
Valor de retorno
Um dos valores padrão do HRESULT.
Exemplo
// The following implementation of the WM_RBUTTONDOWN message handler
// will pop up the ActiveX Control's PropertyPages
LRESULT CMyComposite::OnRButtonDown(UINT /*uMsg*/, WPARAM /*wParam*/,
LPARAM /*lParam*/, BOOL& /*bHandled*/)
{
DoVerbProperties(NULL, ::GetActiveWindow());
return 0L;
}
MESSAGE_HANDLER(WM_RBUTTONDOWN, OnRButtonDown)
Requisitos
Cabeçalho: atlctl.h