共用方式為


COleControl::BoundPropertyRequestEdit

Requests permission from the IPropertyNotifySink interface to change a bound property value provided by the control.

BOOL BoundPropertyRequestEdit(
   DISPID dispid 
);

Parameters

  • dispid
    The dispatch ID of a bound property of the control.

Return Value

Nonzero if the change is permitted; otherwise 0. The default value is nonzero.

Remarks

If permission is denied, the control must not let the value of the property change. This can be done by ignoring or failing the action that attempted to change the property value.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

COleControl::BoundPropertyChanged

Other Resources

COleControl Members