Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » TabCtrl » Why not drop ParentCtrl pane and add Ctrls directly to TabBarCtrl?
Why not drop ParentCtrl pane and add Ctrls directly to TabBarCtrl? [message #37597] Tue, 23 October 2012 22:45 Go to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
Is there a special reason for having a separate pane in TabBarCtrl? to group them? To only modify pane Rect on Layout()?

I modified my TabBarCtrl implementation and it seems to work..
i do SetRect(GetClientArea()) to all Ctrls in ctrls..

Am I forgetting sth?

The point behind it: make TabBar simpler in hierarchy, maybe even having manage adding/removing to/from ctrls in the ChildAdded() / ChildRemoved()?

EDIT: attached the patch file to show what i'm talking about

[Updated on: Tue, 23 October 2012 23:00]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: A few questions regarding TabCtrl
Next Topic: Tabctrl and RightDown.
Goto Forum:
  


Current Time: Sun Apr 28 11:00:11 CEST 2024

Total time taken to generate the page: 0.01783 seconds