Example #1
0
void CPropTree::SetInfoHeight( int Size )
{
	m_nInfoHeight = Size;
	
	CRect rc;
	GetClientRect(rc);
	ResizeChildWindows(rc.Width(), rc.Height());
}
Example #2
0
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());
}
Example #4
0
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();
}
Example #5
0
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);
}
Example #7
0
void CPropTree::OnSize(UINT nType, int cx, int cy)
{
	CWnd::OnSize(nType, cx, cy);
	ResizeChildWindows(cx, cy);
}