Simple Tab Control without using frames and child dialogs
-
Hello, I have a big problem about creating a Simple Tab View Control in a MFC CDialog Dialog window. I must not create additional child dialogs to use in Tab Control because the Tab View must be kind of dynamic. Because of window resizing and manual control drags. Please tell me with code and or tutorial, how to create a MFC CDialog compatible Tabbed View control which doesn't uses any child dialog templates which we need to create in resource file. I am using Visual Studio .NET 2003. Respectively, Tushar Tushar Arora
-
Hello, I have a big problem about creating a Simple Tab View Control in a MFC CDialog Dialog window. I must not create additional child dialogs to use in Tab Control because the Tab View must be kind of dynamic. Because of window resizing and manual control drags. Please tell me with code and or tutorial, how to create a MFC CDialog compatible Tabbed View control which doesn't uses any child dialog templates which we need to create in resource file. I am using Visual Studio .NET 2003. Respectively, Tushar Tushar Arora
Hi, If I understands correct what you are seeking is a way to create a Tab whitout a dialog. You can just put a tab control in your View class and than create that control with its Create method. Just check the MSDN for the tab control (CTab). They have really good explanations. If you still having trobules tell me and I will try to find a program that will help you.
Sincerely yours Y.R.
-
Hi, If I understands correct what you are seeking is a way to create a Tab whitout a dialog. You can just put a tab control in your View class and than create that control with its Create method. Just check the MSDN for the tab control (CTab). They have really good explanations. If you still having trobules tell me and I will try to find a program that will help you.
Sincerely yours Y.R.
Hello, You have advised me to look for "CTab" in MSDN but I haven't found any "CTab" class niether in Visual Studio nor in MSDN. I am using Visual Studio .NET 2003, and MSDN June 2005. I still need a code to create a Tabbed Control which doesn't need any Child Dialog templates to put in. Please help me. tushar
Tushar Arora
-
Hello, You have advised me to look for "CTab" in MSDN but I haven't found any "CTab" class niether in Visual Studio nor in MSDN. I am using Visual Studio .NET 2003, and MSDN June 2005. I still need a code to create a Tabbed Control which doesn't need any Child Dialog templates to put in. Please help me. tushar
Tushar Arora
I guess you are using MFC.... Where I have written CTab I should have written CTab... (I didnt checked the full name). Anyway after a little check in the msdn site I found this page http://msdn2.microsoft.com/en-us/library/hfshke78(VS.80).aspx It contains info about the CTabCtrl. Though the site is good I prefer the help in the program(VS) (just write CTabCtrl in the index). If you still having troubles try to search for CTabCtrl in CodeProject they have a lot of usefull articles. Hope I helped.
Sincerely yours Y.R.