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 » microscopic button in a toolbar with GetMinSize()?
Re: microscopic button in a toolbar with GetMinSize()? [message #552 is a reply to message #549] Mon, 09 January 2006 04:47 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
this works:
...
	if(bar.IsToolBar()) {
		bar.Add(btn_run.SetLabel("Run"), btn_run.AddFrameSize(30,20));

	}


but I also would like this logic to work:
...
	if(bar.IsToolBar()) {
		bar.Add(btn_run.SetLabel("Run"), btn_run.AddFrameSize(30,20))
		.Key(K_CTRL_R)
		.Help("Run your something");

	}
 
Read Message
Read Message
Read Message
Next Topic: Menu callbacks
Goto Forum:
  


Current Time: Thu Apr 25 06:26:55 CEST 2024

Total time taken to generate the page: 0.03850 seconds