CSplitterWnd::GetActivePane

Determines the active pane from the focus or active view in the frame.

virtual CWnd* GetActivePane(
   int* pRow = NULL,
   int* pCol = NULL
);

Parameters

  • pRow
    A pointer to an int to retrieve the row number of the active pane.

  • pCol
    A pointer to an int to retrieve the column number of the active pane.

Return Value

Pointer to the active pane. NULL if no active pane exists.

Remarks

This member function is called by the framework to determine the active pane in a splitter window. Override to require an action by the user before getting the active pane.

Requirements

Header: afxext.h

See Also

Reference

CSplitterWnd Class

Hierarchy Chart

CSplitterWnd::SetActivePane

CFrameWnd::GetActiveView

CWnd::GetParentFrame

CWnd::GetFocus

Other Resources

CSplitterWnd Members