CComControlBase::DoVerbProperties
Wyświetla strony właściwości formantu.
HRESULT DoVerbProperties(
LPCRECT /* prcPosRect */,
HWND hwndParent
);
Parametry
prcPosRec
Zarezerwowane.hwndParent
Uchwyt okna zawierającego ten formant.
Wartość zwracana
Jeden standardowy wartości HRESULT.
Przykład
// 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)
Wymagania
Nagłówek: atlctl.h