共用方式為


COleControl::SetNotPermitted

Indicates that an edit request has failed.

void SetNotPermitted( );

Remarks

Call this function when BoundPropertyRequestEdit fails. This function throws an exception of type COleDispScodeException to indicate that the set operation was not permitted.

Requirements

Header: afxctl.h

See Also

Concepts

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::BoundPropertyRequestEdit