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 » Menus&Toolbars » How do I create vertical toolbars
How do I create vertical toolbars [message #35257] Thu, 26 January 2012 14:50 Go to next message
Alboni is currently offline  Alboni
Messages: 182
Registered: January 2012
Location: Deventer, Netherlands
Experienced Member

for example:

index.php?t=getfile&id=3619&private=0
  • Attachment: eagle.png
    (Size: 15.83KB, Downloaded 355 times)
Re: How do I create vertical toolbars [message #35258 is a reply to message #35257] Thu, 26 January 2012 17:33 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1758
Registered: August 2008
Location: Czech Republic
Senior Contributor

Hi Alboni,

It is quite simple, just call Left() (or Right(), Bottom() or Top()) on the toolbar widget. For example:
	MyAppWindow() {
		Title("My application with bars").Sizeable();
		AddFrame(menu);
		AddFrame(tool.Left());
		menu.Set(THISBACK(MainMenu));
		tool.Set(THISBACK(SubBar));
	}
(Code taken from tutorial/Gui_11, just added the Left()).

Best regards,
Honza

[Updated on: Thu, 26 January 2012 17:34]

Report message to a moderator

Re: How do I create vertical toolbars [message #35261 is a reply to message #35257] Fri, 27 January 2012 00:58 Go to previous message
Alboni is currently offline  Alboni
Messages: 182
Registered: January 2012
Location: Deventer, Netherlands
Experienced Member
Ah yeah, thank you!
Previous Topic: private-ness of ToolButton::GetImage()
Next Topic: ToolBar Callback weirdness
Goto Forum:
  


Current Time: Wed Nov 20 02:54:18 CET 2019

Total time taken to generate the page: 0.01245 seconds