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 » Community » Newbie corner » How do I get parameters for GetTextSize ( Get parameters for GetTextSize)
Re: How do I get parameters for GetTextSize [message #43295 is a reply to message #43275] Tue, 24 June 2014 21:44 Go to previous messageGo to previous message
BioBytes is currently offline  BioBytes
Messages: 307
Registered: October 2008
Location: France
Senior Member
Hi awksed,

You could get your text width using GetTextSize(const FontInfo& ft,WString& str) and adapt the DropList width using DropList::SetMinSize(Size sz).

Hope this could be helpful

Cheers Smile

Biobytes
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to position dialog in relation to parent window
Next Topic: Display of long text
Goto Forum:
  


Current Time: Fri May 10 22:46:14 CEST 2024

Total time taken to generate the page: 0.03215 seconds