if (!m_clsAAAWnd.Create(_T("AAA"),
this,
ID_VIEW_PANEL_AAA,
WS_CHILD|WS_VISIBLE | WS_HSCROLL
|CBRS_BOTTOM|CBRS_GRIPPER|CBRS_TOOLTIPS))
{
return FALSE;
}
if (!m_clsAAADlg.Create(IDD_DIALOG_AAA, &m_clsAAAWnd))
{
return FALSE;
}
m_clsAAADlg.SetParenthWnd(hWnd);
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
BOOL bShow = (m_dwUI & MAIN_UI_AAA) ? TRUE : FALSE;
ShowControlBar( &m_clsAAAWnd, bShow, TRUE );
RecalcLayout();
============================================================
I have AAA dialog in page.
The other page return to this page that has AAA dialog, AAA dialog size is strange.
Why size is change despite of using ReclacLayout()?