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 get font height
Re: how get font height [message #22234 is a reply to message #22219] Fri, 26 June 2009 14:10 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
#include <CtrlLib/CtrlLib.h>

using namespace Upp;

GUI_APP_MAIN
{
	TopWindow win;
	RichTextCtrl rt;
	String str = "[3A^test^ Graphical introduction]";
	rt = str;
	rt.SetFrame(BlackFrame());
	rt.NoSb();
	win.Add(rt.LeftPos(10, rt.GetWidth() + 2).TopPos(rt.GetHeight(INT_MAX) + 2));
	win.Run();
}


Mirek
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Previous Topic: Inserting text into the current cursor position
Next Topic: Font alignment issues
Goto Forum:
  


Current Time: Sat May 11 23:58:39 CEST 2024

Total time taken to generate the page: 0.02769 seconds