void CPropTree::SetInfoHeight( int Size ) { m_nInfoHeight = Size; CRect rc; GetClientRect(rc); ResizeChildWindows(rc.Width(), rc.Height()); }
LRESULT CALLBACK DocWin::WmSize( HWND hwnd, WPARAM wParam, LPARAM lParam ) { ResizeChildWindows(); return DefMDIChildProc(hwnd, WM_SIZE, wParam, lParam); }
void CEGPropertyGrid::ShowInfoText(BOOL bShow) { m_bShowInfo = bShow; CRect rc; GetClientRect(rc); ResizeChildWindows(rc.Width(), rc.Height()); }
void DocWin::CreateSplitConsole( int nCmdShow ) { if (!m_pConsole) { m_pConsole = REDIT::CreateEdit(m_hwnd, EDIT_SPLIT_CONSOLE); } else { m_pConsole->SetFocus(); } m_pConsole->Show(nCmdShow); ResizeChildWindows(); }
LRESULT CALLBACK DocWin::IdmSplitConsole( HWND hwnd, WPARAM wParam, LPARAM lParam ) { if(m_pConsole) { m_pConsole->ToggleShow(); } else { CreateSplitConsole(SW_SHOW); } ResizeChildWindows(); return 0; }
void CEGPropertyGrid::OnSize(UINT nType, int cx, int cy) { CWnd::OnSize(nType, cx, cy); ResizeChildWindows(cx, cy); }
void CPropTree::OnSize(UINT nType, int cx, int cy) { CWnd::OnSize(nType, cx, cy); ResizeChildWindows(cx, cy); }