-
Dialog in CTabCtrl
Hi guys,
I'm pretty new to Tabs. I have created an application (Dialog) which is supposed to have a Tab ctrl containing various controls like buttons, dropdown lists, etc. Now, I have faced the problem that it doesn't seem to be that easy to place the controls onto the different tabs. They can't be seen unless they are created before the tab control. Also, they would overlap if the position of two controls in different tabs is the same. So, I have been thinking of creating different dialog classes for each tab, put the controls in there and attach the dialogs (Child, no title) to the different tabs.
So, now my questions:
1) How to make one of these dialogs a child of one tab?
2) How can I reposition the dialog so it fits onto the tab?
3) Any better idea of implementing this?
Thanks for your help
radu
-
Re: Dialog in CTabCtrl
hi radu,
There are some samples ,perhaps can help you.
http://www.codeproject.com/tabctrl/SimpleTab.asp
tango
-
Re: Dialog in CTabCtrl
You should read this.
Is very simple to use and is exact what you need.
http://msdn.microsoft.com/library/de...pertysheet.asp
-
Re: Dialog in CTabCtrl
thanks alot guys, you helped me alot.
have a nice day
radu