IPropertyPage::Move method (ocidl.h)

Positions and resizes the property page dialog box within the frame.

Syntax

HRESULT Move(
  [in] LPCRECT pRect
);

Parameters

[in] pRect

A pointer to the RECT structure containing the positioning information for the property page dialog box.

Return value

This method can return the standard return value E_UNEXPECTED, as well as the following values.

Return code Description
S_OK
The method completed successfully.
E_POINTER
The address in prc is not valid. For example, it may be NULL.

Remarks

The rectangle specified by prc is treated identically to that passed to IPropertyPage::Activate.

Notes to Callers

Calls to this method must occur after a call to IPropertyPage::Activate and before a corresponding call to IPropertyPage::Deactivate.

Notes to Implementers

The page must create its dialog box with the placement and dimensions described by this structure.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header ocidl.h

See also

IPropertyPage