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 » Hide tab in TabCtrl
Re: Hide tab in TabCtrl [message #25601 is a reply to message #25600] Wed, 03 March 2010 10:03 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, I guess TabCtrl was lacking in this kind of operation. I think these methods might improve situation:

	int  Find(const Ctrl& slave) const;
	void Set(Ctrl& slave);

	TabCtrl::Item& Insert(Ctrl& before_slave);
	TabCtrl::Item& Insert(Ctrl& before_slave, const char *text);
	TabCtrl::Item& Insert(Ctrl& before_slave, const Image& m, const char *text);
	TabCtrl::Item& Insert(Ctrl& before_slave, Ctrl& slave, const char *text);
	TabCtrl::Item& Insert(Ctrl& before_slave, Ctrl& slave, const Image& m, const char *text);

	void  Remove(Ctrl& slave);


Still, maybe we should add visibility flag too (but its a bit more difficult and I do not have enough time now).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Disappearing tabs in TabCtrl
Next Topic: How to change tabctrl background color ?
Goto Forum:
  


Current Time: Sun Apr 28 03:30:02 CEST 2024

Total time taken to generate the page: 0.06004 seconds