There are meny dialogs in my project,these dialog are children of CExtPageContainerWnd and CExtPageContainerWnd is the only child of CExtControlBar.
I think the scrollbar is needed when the dialog is too small to show all the controls on it,
So i write a class CScrollDialog based on MFC’s CDialog to support scrolling mechanism,but when i drag the CExtControlBar,there is much flicker on my dialog, and if i turn on Clip Children for my dialogs then the dialog can not be shown rightly.
i tried the CExtResizableDialog as the base class for CScrollDialog,and failed again.
My purpose is to put dialogs into a tab control and the tab control can be docked anywhere in the frame. further more,i need scrollbar for my dialog when the size is too small to show the controls on it.
How to solve this problem?
thanks.