newntui/discovermdi/src/errorsbrowser.cpp
//--------------------------------------------------------------------------------
// This function will position all controls in the dockable window according to 
// the  current window size.
//--------------------------------------------------------------------------------
This function will position all controls in the dockable window according to
the  current window size.
This function will position all controls in the dockable window according to the current window size .
void CErrorsBrowser::LayoutControls() {
    if(!::IsWindow(*this)) return;
	m_RightSash.SetContextWindow(GetParent()->GetParent());
	m_LeftSash.SetContextWindow(GetParent()->GetParent());
	m_TopSash.SetContextWindow(GetParent()->GetParent());
	m_BottomSash.SetContextWindow(GetParent()->GetParent());
    SetControlsPos();
}
void CErrorsBrowser :: LayoutControls ( ) { if ( ! :: IsWindow ( * this ) ) return ; m_RightSash . SetContextWindow ( GetParent ( ) -> GetParent ( ) ) ; m_LeftSash . SetContextWindow ( GetParent ( ) -> GetParent ( ) ) ; m_TopSash . SetContextWindow ( GetParent ( ) -> GetParent ( ) ) ; m_BottomSash . SetContextWindow ( GetParent ( ) -> GetParent ( ) ) ; SetControlsPos ( ) ; }
This function will position all controls in the dockable window according to
the  current window size.
This function will position all controls in the dockable window according to the current window size .