Click here to Skip to main content
15,881,139 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Using the project wizard, I chose an SDI application and created 5 dialog boxes. I used InitDialog to maximize each Window.

Unfortunately, only the active dialog window shows. I can't see the other four windows in a tab-type style.

What am I doing wrong?
Posted
Comments
Sergey Alexandrovich Kryukov 7-Aug-14 1:35am    
Dialog is something supposed to by modal. You can show one dialog on top of another one, which is not nice.
It's hard to say what is your actual problem without seeing your code, but it sounds like you are trying to abuse dialogs...
—SA

1 solution

If you need a tab control then use a tab control[^]!
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 7-Aug-14 1:37am    
Not 100% sure, but its fairly likely that it may help OP who probably does not understand the concept of dialogs, modal and non-modal windows, and SDI. 5ed.
—SA
CPallini 7-Aug-14 2:56am    
Yes, you are probably right.
Thank you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900