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