共用方式為


CPane::CanBeTabbedDocument

Determines if the pane can be converted to a tabbed document.

virtual BOOL CanBeTabbedDocument() const;

Return Value

TRUE if the pane can be converted to a tabbed document; otherwise, FALSE.

Remarks

Override this method in a derived class and return FALSE if you want to prevent a pane from being converted to a tabbed document. A tabbed document will not be listed in the Window Position menu.

Requirements

Header: afxPane.h

See Also

Reference

CPane Class

Hierarchy Chart