tabs (like in visual studio)

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
Chr
Earned some good credits
Earned some good credits
Posts: 115
Joined: Tue May 31, 2005 2:17 pm

tabs (like in visual studio)

Post by Chr » Sun Aug 21, 2005 3:11 pm

is there a class which implements tabs like in visualstudio 2005 ( http://aaronbrethorst.members.winisp.ne ... absA_1.png )
or simply vs .net 2003 ( http://www.altova.com/manual2005/XMLSpy ... bug1xa.gif )

Here you can see tabs like that in a wx application:
http://pecholt.wz.cz/ide-2005-08-05.png

how can i use these *special* tabs in a wx app?
wxWidgets is nice

arucard
Experienced Solver
Experienced Solver
Posts: 61
Joined: Tue Dec 28, 2004 10:16 am
Location: Czech rep.

Post by arucard » Sun Aug 21, 2005 7:13 pm

Well, I have created this tab control for myself. It has similar interface as wxNotebook and draws these tabs on the wxPaintDC in the paint event. Also sends events if user clicks on tab or its close button. So nothing special here :D
wxWidgets 2.8.4, winxp, VC2003 and above

ssigala
Earned some good credits
Earned some good credits
Posts: 109
Joined: Fri Sep 03, 2004 9:30 am
Location: Brescia, Italy

Post by ssigala » Sun Aug 21, 2005 7:21 pm

arucard wrote:Well, I have created this tab control for myself. It has similar interface as wxNotebook and draws these tabs on the wxPaintDC in the paint event. Also sends events if user clicks on tab or its close button. So nothing special here :D
I like them also! Is the control source available under a wxWidgets license? Do the tabs support images?
Sandro Sigala - Kynosoft, Brescia

arucard
Experienced Solver
Experienced Solver
Posts: 61
Joined: Tue Dec 28, 2004 10:16 am
Location: Czech rep.

Post by arucard » Sun Aug 21, 2005 7:33 pm

Currently it is a part of an another application but isn't finished yet. Support for images will be added soon. I have no problem with sharing it so if there will be an interest I can public it in the Code Dump section or anywhere else
wxWidgets 2.8.4, winxp, VC2003 and above

ssigala
Earned some good credits
Earned some good credits
Posts: 109
Joined: Fri Sep 03, 2004 9:30 am
Location: Brescia, Italy

Post by ssigala » Sun Aug 21, 2005 7:43 pm

I have no problem with sharing it so if there will be an interest I can public it in the Code Dump section or anywhere else
It has a very good visual appearence, I'm sure that many people would be interested!

P.S.
It would be perfect IMHO if it works as a drop-in replacement of wxNotebook.

Edit:
It has similar interface as wxNotebook
Ok, I found the answer in the previous post :)
Sandro Sigala - Kynosoft, Brescia

Chr
Earned some good credits
Earned some good credits
Posts: 115
Joined: Tue May 31, 2005 2:17 pm

Post by Chr » Mon Aug 22, 2005 2:05 pm

can you publsih it on the code dump?
btw. what is this "project" you are working on? it looks very very good...
wxWidgets is nice

Post Reply