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 » RichText,QTF,RTF... » how to get Text Size from controls like EditString?
Re: how to get Text Size from controls like EditString? [message #2358 is a reply to message #2354] Sun, 09 April 2006 15:55 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
fudadmin wrote on Sun, 09 April 2006 07:41

luzr wrote on Sun, 09 April 2006 06:26

1. What is "Text Size" ?

2. How you expect GetSmartTextSize to be related?

GetSmartTextSize returns the size of text that can contain some control codes - '&' to designate hotkey, or '\1' at the beginning that marks text as QTF.

Mirek



1. Text height and width (length) in pixels (for a font used in a control or any font).

2. That's what I want to find out... Smile I just found it...

I need to adjust my tree node size after editing...


Draw::GetTextSize?

Mirek
 
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: Is LineEdit the main normal text edit control? +DocEdit [SOLVED...]
Next Topic: Scrollable log window with colour text
Goto Forum:
  


Current Time: Wed May 15 01:55:33 CEST 2024

Total time taken to generate the page: 0.01421 seconds