Condividi tramite


CSplitterWnd::SetActivePane

Sets a pane to be the active one in the frame.

virtual void SetActivePane(
   int row,
   int col,
   CWnd* pWnd = NULL 
);

Parameters

  • row
    If pWnd is NULL, specifies the row in the pane that will be active.

  • col
    If pWnd is NULL, specifies the column in the pane that will be active.

  • pWnd
    A pointer to a CWnd object. If NULL, the pane specified by row and col is set active. If not NULL, specifies the pane that is set active.

Remarks

This member function is called by the framework to set a pane as active when the user changes the focus to a pane within the frame window. You can explicitly call SetActivePane to change the focus to the specified view.

Specify pane by providing either row and column, or by providing pWnd.

Requirements

Header: afxext.h

See Also

Reference

CSplitterWnd Class

Hierarchy Chart

CSplitterWnd::GetActivePane

CSplitterWnd::GetPane

CFrameWnd::SetActiveView

Other Resources

CSplitterWnd Members