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
);
E_UNEXPECTED, as well as the following:
E_NOTIMPL is not a valid return value.
Windows NT: Use version 4.0 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in ocidl.h.