Compartir a través de


CBasePropertyPage::Activate

 
Microsoft DirectShow 9.0

CBasePropertyPage::Activate

The Activate method creates the dialog box window. This method implements the IPropertyPage::Activate method.

Syntax

  HRESULT Activate(
    HWND hwndParent,
    LPCRECT prect,
    BOOL fModal
);

Parameters

hwndParent

Handle to the parent window of the dialog box.

prect

Pointer to a RECT structure that contains positioning information for the dialog box.

fModal

Boolean value indicating whether the dialog box frame is modal (TRUE) or modeless (FALSE).

Return Value

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success.
E_OUTOFMEMORY Insufficient memory.
E_POINTER NULL pointer argument.
E_UNEXPECTED Unexpected failure.

Requirements

**  Header:** Declared in Cprop.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also