CSplitterWnd::IsChildPane

Determines whether pWnd is currently a child pane of this splitter window.

BOOL IsChildPane( 
   CWnd* pWnd, 
   int* pRow, 
   int* pCol 
);

Parameters

  • pWnd
    A pointer to a CWnd object to be tested.

  • pRow
    A pointer to an int in which to store row number.

  • pCol
    A pointer to an int in which to store a column number.

Return Value

If nonzero, pWnd is currently a child pane of this splitter window, and pRow and pCol are filled in with the position of the pane in the splitter window. If pWnd is not a child pane of this splitter window, 0 is returned.

Remarks

In Visual C++ versions prior to 6.0, this function was defined as

BOOL IsChildPane(CWnd* pWnd, int& row, int& col);

This version is now obsolete and should not be used.

Requirements

Header: afxext.h

See Also

Reference

CSplitterWnd Class

Hierarchy Chart

CSplitterWnd::GetPane