void CMainFrame::OnSize(UINT nType, int cx, int cy)
{
//..
//..
//### Remove this comment and suddenly the row 1 partitions become
visible!! Why?
//### ofcourse, there is an assertion. how do you remove that?
// m_wndSpSub2.MoveWindow(-borderwidth, -borderwidth,
cx+(borderwidth*2), cy+(borderwidth*2));
}
Is this an override you added yourself? Can I ask why? You should not be
calling MoveWindow() on splitters or their panes - the panes get their
initial sizes given when you call CreateStatic(), and you can change the
sizes later by calling SetRowInfo() or SetColumnInfo().
--
Jason Teagle
[EMAIL PROTECTED]
_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for
subscription changes, and list archive.