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 #556 is a reply to message #552] Mon, 09 January 2006 09:45 Go to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
GetMinSize is defined as the minimal reasonable size of a specific Ctrl and does not need to be defined for each one. It is not defined for Button (should it be?), as such use is not typical.

AddFrameSize adds the size of Ctrl's frame to the specified size of Ctrl's view. Not much use for Button, but possible solution.

button.AddFrameSize(20, 50) is likely equivalent of Size(20, 50), unless you do some Frame magic with the Button (normally, Button has single NullFrame).
 
Read Message
Read Message
Read Message
Next Topic: Menu callbacks
Goto Forum:
  


Current Time: Mon Aug 18 21:24:44 CEST 2025

Total time taken to generate the page: 0.07342 seconds