ctabctrl drawing
-
Hello, I have the need for a tab control that renders slighly different from the default control provided in the mfc library. I would like for it to display tabs on the left hand side, but with horizontal text. Additionally, I would like to have navigation buttons (up/down), and for each tab to have a close button. Finally, one must be able to add 'pages' dynamically. In short, I would like to have something like : No navigation needed
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ | **TAB 1** \[x\] | | ------------| | | TAB 2 \[x\] | | ------------| DIALOG 1 | | TAB 3 \[x\] | | ------------| | | | | | |\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_|
Navigation needed
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ | UP BUTTON | | ------------| | | TAB 4 \[x\] | | ------------| DIALOG 5 | | **TAB 5** \[x\] | | ------------| | | TAB 6 \[x\] | | ------------| | |DOWN\_BUTTON|\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_|
I dont mind doing the coding myself, but to be honest, I dont know where to start as far as having it render in this manner. Any suggestions or sample code would be greatly appreciated. Thanks, ----------------- Genaro
-
Hello, I have the need for a tab control that renders slighly different from the default control provided in the mfc library. I would like for it to display tabs on the left hand side, but with horizontal text. Additionally, I would like to have navigation buttons (up/down), and for each tab to have a close button. Finally, one must be able to add 'pages' dynamically. In short, I would like to have something like : No navigation needed
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ | **TAB 1** \[x\] | | ------------| | | TAB 2 \[x\] | | ------------| DIALOG 1 | | TAB 3 \[x\] | | ------------| | | | | | |\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_|
Navigation needed
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ | UP BUTTON | | ------------| | | TAB 4 \[x\] | | ------------| DIALOG 5 | | **TAB 5** \[x\] | | ------------| | | TAB 6 \[x\] | | ------------| | |DOWN\_BUTTON|\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_|
I dont mind doing the coding myself, but to be honest, I dont know where to start as far as having it render in this manner. Any suggestions or sample code would be greatly appreciated. Thanks, ----------------- Genaro
Could an "outlook bar" fullfill your needs ? Something like: http://www.codeproject.com/miscctrl/outbar2.asp[^] Other examples on: http://www.codeproject.com/info/search.asp?cats=2&searchkw=outlook+bar&Submit1=Search&author=&sd=11%2F15%2F1999&ed=2%2F20%2F2006[^] ~RaGE();
-
Could an "outlook bar" fullfill your needs ? Something like: http://www.codeproject.com/miscctrl/outbar2.asp[^] Other examples on: http://www.codeproject.com/info/search.asp?cats=2&searchkw=outlook+bar&Submit1=Search&author=&sd=11%2F15%2F1999&ed=2%2F20%2F2006[^] ~RaGE();
Thanks for the response. Unfortunately, this is not exactly what I am looking for. I would like to be able to use the control in a a formview, along with other controls. Particularly, I would like to have a CListCtrl such that when you click on an element, it adds a corresponding tab to the tab control (if one is not already there). If you can think of any such controls, please let me know. Thanks, ----------------- Genaro