CComControlBase::DoVerbProperties
Zobrazí stránky vlastností ovládacího prvku.
HRESULT DoVerbProperties(
LPCRECT /* prcPosRect */,
HWND hwndParent
);
Parametry
prcPosRec
Vyhrazena.hwndParent
Popisovač okna obsahující ovládací prvek.
Vrácená hodnota
Jeden standardní hodnoty HRESULT.
Příklad
// 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)
Požadavky
Záhlaví: atlctl.h