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 » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » How to combine two widget-class in the topwindow
Re: How to combine two widget-class in the topwindow [message #2102 is a reply to message #2101] Fri, 31 March 2006 23:52 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
fudadmin wrote on Fri, 31 March 2006 23:40


did you mean this?:
#include <CtrlLib/CtrlLib.h>

GUI_APP_MAIN
{
	TopWindow w;
	TabCtrl tabs;
	w.Add(tabs.SizePos()); //fills all available space...
	tabs.Add("one");
	tabs.Add("two");
	tabs.Add("three");
	//add more accordingly or create in a a loop...
	
	w.Run();
}



Wonderful! I meant just it.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mouse over button example -"catch me if you can..."
Next Topic: "Forlano tabs" - how to reduce a headache by the proper use of the designer...
Goto Forum:
  


Current Time: Mon May 13 07:40:10 CEST 2024

Total time taken to generate the page: 0.03379 seconds