共用方式為


CSplitterWnd::CanActivateNext

Called by the framework to check to see if the Next Pane or Previous Pane command is currently possible.

virtual BOOL CanActivateNext( 
   BOOL bPrev = FALSE  
);

Parameters

  • bPrev
    Indicates which window to activate. TRUE for previous; FALSE for next.

Return Value

Nonzero if successful; otherwise 0.

Remarks

This member function is a high level command that is used by the CView class to delegate to the CSplitterWnd implementation.

Requirements

Header: afxext.h

See Also

Reference

CSplitterWnd Class

Hierarchy Chart

CSplitterWnd::ActivateNext

CSplitterWnd::SetActivePane