共用方式為


COleControl::IsSubclassedControl

Called by the framework to determine if the control subclasses a Windows control.

virtual BOOL IsSubclassedControl( );

Return Value

Nonzero if the control is subclassed; otherwise 0.

Remarks

You must override this function and return TRUE if your OLE control subclasses a Windows control.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

Other Resources

COleControl Members