|
-
October 24th, 2006, 03:37 AM
#1
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
Please rate if it helps!
* The second mouse gets the cheese.
* Birthdays are good for you. The more you have, the longer you live.
* Always keep your words soft and sweet, just in case you have to eat them.
* Always read stuff that will make you look good if you die in the middle of it.
-
October 24th, 2006, 03:57 AM
#2
Re: Dialog in CTabCtrl
hi radu,
There are some samples ,perhaps can help you.
http://www.codeproject.com/tabctrl/SimpleTab.asp
tango
-
October 24th, 2006, 07:14 AM
#3
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
-
October 24th, 2006, 07:16 AM
#4
Re: Dialog in CTabCtrl
thanks alot guys, you helped me alot.
have a nice day
radu
Please rate if it helps!
* The second mouse gets the cheese.
* Birthdays are good for you. The more you have, the longer you live.
* Always keep your words soft and sweet, just in case you have to eat them.
* Always read stuff that will make you look good if you die in the middle of it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|