Click here to Skip to main content
16,005,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to create different Dialogs as Tabs in single window. Pin
«_Superman_»8-Feb-09 15:36
professional«_Superman_»8-Feb-09 15:36 
GeneralRe: How to create different Dialogs as Tabs in single window. Pin
B_U_A8-Feb-09 18:09
B_U_A8-Feb-09 18:09 
GeneralRe: How to create different Dialogs as Tabs in single window. Pin
«_Superman_»8-Feb-09 19:04
professional«_Superman_»8-Feb-09 19:04 
GeneralRe: How to create different Dialogs as Tabs in single window. Pin
B_U_A8-Feb-09 19:26
B_U_A8-Feb-09 19:26 
GeneralRe: How to create different Dialogs as Tabs in single window. Pin
«_Superman_»8-Feb-09 19:31
professional«_Superman_»8-Feb-09 19:31 
GeneralRe: How to create different Dialogs as Tabs in single window. Pin
hemlat8-Feb-09 20:50
hemlat8-Feb-09 20:50 
QuestionRe: How to create different Dialogs as Tabs in single window. [modified] Pin
B_U_A8-Feb-09 23:54
B_U_A8-Feb-09 23:54 
AnswerRe: How to create different Dialogs as Tabs in single window. Pin
«_Superman_»9-Feb-09 4:28
professional«_Superman_»9-Feb-09 4:28 
For your requirement you do not need to use the CPropertySheet or CPropertyPage classes.

You simply create a class inherited from CDialog for each dialog to be shown in tabs.
Make sure the Visible property of all classes are set to false.
Call the Create method of the dialog class setting the tab control as its parent.

Handle the tab change notification of the tab control.
In the notification handler, show the dialog to be shown and hide all the other dialogs.

«_Superman_»

QuestionRe: How to create different Dialogs as Tabs in single window. [modified] Pin
B_U_A9-Feb-09 21:34
B_U_A9-Feb-09 21:34 
AnswerRe: How to create different Dialogs as Tabs in single window. Pin
«_Superman_»10-Feb-09 1:55
professional«_Superman_»10-Feb-09 1:55 
QuestionRe: How to create different Dialogs as Tabs in single window. Pin
B_U_A10-Feb-09 21:56
B_U_A10-Feb-09 21:56 
AnswerRe: How to create different Dialogs as Tabs in single window. Pin
«_Superman_»10-Feb-09 22:07
professional«_Superman_»10-Feb-09 22:07 
QuestionRe: How to create different Dialogs as Tabs in single window. Pin
B_U_A10-Feb-09 22:26
B_U_A10-Feb-09 22:26 
QuestionRe: How to create different Dialogs as Tabs in single window. Pin
B_U_A16-Feb-09 0:53
B_U_A16-Feb-09 0:53 
AnswerRe: How to create different Dialogs as Tabs in single window. Pin
Code-o-mat6-Feb-09 1:28
Code-o-mat6-Feb-09 1:28 
AnswerRe: How to create different Dialogs as Tabs in single window. Pin
Rajesh R Subramanian7-Feb-09 5:36
professionalRajesh R Subramanian7-Feb-09 5:36 
QuestionFolder Size Pin
john56325-Feb-09 23:49
john56325-Feb-09 23:49 
AnswerRe: Folder Size Pin
prasad_som6-Feb-09 0:51
prasad_som6-Feb-09 0:51 
GeneralRe: Folder Size Pin
john56326-Feb-09 1:22
john56326-Feb-09 1:22 
AnswerRe: Folder Size Pin
prasad_som6-Feb-09 1:58
prasad_som6-Feb-09 1:58 
GeneralRe: Folder Size Pin
Naveen6-Feb-09 2:16
Naveen6-Feb-09 2:16 
GeneralRe: Folder Size Pin
prasad_som6-Feb-09 2:27
prasad_som6-Feb-09 2:27 
GeneralRe: Folder Size Pin
Naveen6-Feb-09 2:39
Naveen6-Feb-09 2:39 
GeneralRe: Folder Size Pin
prasad_som6-Feb-09 4:21
prasad_som6-Feb-09 4:21 
Question.ost to .pst conversion Pin
PankajB5-Feb-09 23:18
PankajB5-Feb-09 23:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.