共用方式為


COlePropertyPage::OnEditProperty

The framework calls this function when a specific property is to be edited.

virtual BOOL OnEditProperty(
   DISPID dispid 
);

Parameters

  • dispid
    Dispatch ID of the property being edited.

Return Value

The default implementation returns FALSE. Overrides of this function should return TRUE.

Remarks

You can override it to set the focus to the appropriate control on the page. The default implementation does nothing and returns FALSE.

Requirements

Header: afxctl.h

See Also

Concepts

COlePropertyPage Class

COlePropertyPage Members

Hierarchy Chart