IPropertyPage2::EditProperty

Specifies in dispID the property’s control on the property page to receive the focus when the page is activated.

HRESULT EditProperty(

DISPID dispID

//Dispatch identifier for property

);

Parameters

dispID
[in] Identifies the property that is to receive the focus.

Return Values

This method supports the standard return value E_INVALIDARG, as well as the following:

S_OK
The property was successfully highlighted.
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, IPropertyPage2::EditProperty should set the focus to the specific property field.

See Also

IPropertyPage::Activate