Creating a Tab control
Mobile
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I try to create a tab control for two dialogs in a dialog-based project. In "On-initdialog" main Dialog, I do: [code]m_pTabCtrl->Create(TCS_TABS | TCS_FIXEDWIDTH | WS_CHILD | WS_VISIBLE, CRect(0,0,100,20), this,1);[/code] , where "m_pTabCtrl" is a pointer to a CTabCtrl member variable. Then I want to add the 2 dialogs to this tab control, but I dont know how to do it. Anyone can help me to complete the tab control?Do I need to add another code? Thank you. Regards, Javier