Tab Dialog

I have built a dialog-based application using C++ MFC Appln Wizard (EXE). All is well until I began to expand (put in lot of editboxes, listboxes,etc). Soon I find that I run out of space in my dialog GUI.
One solution I can think of is to use Tab dialog (like the tab control).
Anyone know how to solve my problem.
Please give detail answer: steps
I hope that I don't have to redo my orginal dialog for this expansion.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You have to replace window that created in the CYourApp::InitInstance  from your CMainDialog class to the CPropertySheet derived class.
step by step:
1. Create new class derived from CPropertySheet (say CMyProperty)
2. Create class derived from CPropertyPage for each page in the your PropertySheet
3. In the CMyProperty constructor call AddPage for each page you want.
4. In the CYourApp::InitInstance replace lines  line this:
      CAppDlg dlg;
      m_pMainWnd = &dlg;
to the
 CMyProperty dlg;
      m_pMainWnd = &dlg;

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
oops must be comment
1) the tab dialog is a good solution
2) expand the dialog resource's size until it fills the screen (yuk...)
3) create child dialogs and subdivide the functionality between them...
4) create child forms as part of your existing dialog that you can enable and make visible at will...

If any of these sounds good, we can then talk about how to do it... let me know how you want to proceed...
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

als you can just replace base class for already created dialog. just replace CDialog to the CPropertyPage in the dialog`s header and implementation files.
recceAuthor Commented:
pls explain more clearly on how to do this for already created dialog.
You already have working class derived from CDialog. Our task is transform it to the CPropertyPage derived class. So we must replace base class name at each place where it appear.
excuse me for my poor English I can make little test  project and send you by Email (?)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.