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 » Sorry for bothering you with another question:)
Re: Sorry for bothering you with another question:) [message #5334 is a reply to message #5301] Wed, 13 September 2006 20:11 Go to previous message
mirek is currently offline  mirek
Messages: 14260
Registered: November 2005
Ultimate Member
Ulti wrote on Wed, 13 September 2006 03:18

luzr wrote on Tue, 12 September 2006 04:34

by specifying your own metrics function with different MARGIN and calling TabCtrl::Style.

Mirek

is there any code to show how to specify such metrics function,why there no interface to set such parameter.



To conserve the space. I expect the style change to be not quite often; it is therefore better to hold single pointer to function rather than 16 integers.

OK, it is true that for TabCtrl this is non-issue, but I have actually used it as testcase for other Ctrls (think about thousand of widgets in ArrayCtrl or TreeCtrl Wink. I guess this is the way how to provide common cheap interface to deal with visual style changes. (Note that this is very recent stuff, chameleon was added 2 months ago).
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to get this?
Next Topic: TabCtrl raises Assert in Array [BUG]
Goto Forum:
  


Current Time: Tue Jun 03 06:49:27 CEST 2025

Total time taken to generate the page: 0.04120 seconds