Determine the row and column of a view
Posted
by Randy More
on August 7th, 1998
void CMySplitterView::GetRowCol(int &row, int & col)
{
CSplitterWnd * parent;
parent = (CSplitterWnd*)GetParent();
int rows;
int cols;
rows = parent->GetRowCount();
cols = parent->GetColumnCount();
for(row = 0; row < rows; row++)
{
for(col = 0; col < cols; col++)
{
if(this == parent->GetPane(row,col))
{
return;
}
}
}
ASSERT(TRUE == FALSE);
}

Comments
I want to get more code about splitter
Posted by luxixi on 07/28/2009 07:22amThanks a lot
ReplyI think that my variant more simply..
Posted by Legacy on 11/10/1998 12:00amOriginally posted by: Igor Zaharchenko
Reply