Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Resizing CExtResizableDialog Collapse All
Subject Author Date
L Freddi Jul 20, 2009 - 6:12 PM

Hi, supporters

I have two page inherited CExResizableDialog.

One page have three dialog on CExtControlBar.

When I change this page to the other page and return to this page, three dialog’s position is stragne.

I search this website, I find the function "RecalcLayout()"

But when I slowly change page, it’s positon is ok, but fast change page, it’s positon is still strange.

Please give me the solution ASAP. thanks.

Technical Support Jul 21, 2009 - 8:51 AM

Could you tell us how to reproduce this issue using any of our sample applications?

L Freddi Jul 21, 2009 - 6:10 PM

if (!m_clsAAAWnd.Create(_T("AAA"),






  return FALSE;


 if (!m_clsAAADlg.Create(IDD_DIALOG_AAA, &m_clsAAAWnd))


  return FALSE;




BOOL bShow = (m_dwUI & MAIN_UI_AAA) ? TRUE : FALSE;

 ShowControlBar( &m_clsAAAWnd, bShow, TRUE );



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()?   






Technical Support Jul 22, 2009 - 12:42 PM

Please ensure you invoke the CExtControlBar::FrameEnableDocking() method. The CControlBar::EnableDocking() methods of all the bars should also be re-dockable in your application.