IPropertyPage2::EditProperty method (ocidl.h)

Specifies which field is to receive the focus when the property page is activated.

Syntax

HRESULT EditProperty(
  [in] DISPID dispID
);

Parameters

[in] dispID

The property that is to receive the focus.

Return value

This method can return the following values.

Return code Description
S_OK
The method completed successfully.
E_NOTIMPL
This method is not currently implemented; the interface is probably provided in anticipation of future work on this page.

Remarks

Notes to Implementers

If this method is called before a page is activated, the page should store the property and set the focus to it in the next call to IPropertyPage::Activate. If the page is already active, EditProperty should set the focus to the specific property field.

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

IPropertyPage2