共用方式為


CBasePane::IsVisible

Determines whether the pane is visible.

virtual BOOL IsVisible() const;

Return Value

TRUE if the pane is visible; otherwise FALSE.

Remarks

Use this method to determine the visibility of a pane. Do not use ::IsWindowVisible.

If the pane is not tabbed (see CBasePane::IsTabbed), this method checks for the WS_VISIBLE style. If the pane is tabbed, this method checks the visibility of the parent tabbed window. If the parent window is visible, the function checks the visibility of the pane tab using CMFCBaseTabCtrl::IsTabVisible.

Requirements

Header: afxbasepane.h

See Also

Reference

CBasePane Class

Hierarchy Chart