Creates the dialog box for the property page (without a frame, caption, or system menu/controls) using hWndParent as the parent window and prc as the positioning rectangle. The bModal flag indicates the modality of the dialog box frame (in the current implementation of OleCreatePropertyFrame and OleCreatePropertyFrameIndirect, this parameter is always TRUE). The text in the dialog should match the locale obtained through IPropertyPageSite::GetLocaleID.
The property page maintains the window handle created in this process, which it uses to destroy the dialog box within IPropertyPage::Deactivate.
HRESULT Activate(
HWND hWndParent , |
//Parent window handle |
LPCRECT prc , |
//Pointer to RECT structure |
BOOL bModal |
//Dialog box frame is modal or modeless |
); |
Parameters
Return Values
E_UNEXPECTED, as well as the following:
Remarks
E_NOTIMPL is not a valid return value.
See Also