Print Page | Close Window

Codejock DrawText & DT_CALCRECT

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=13459
Printed Date: 23 June 2025 at 1:00am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Codejock DrawText & DT_CALCRECT
Posted By: jimmy
Subject: Codejock DrawText & DT_CALCRECT
Date Posted: 20 February 2009 at 3:51am
Hello,

Codejock Library have many DrawText with DT_CALCRECT calls.
Please read follow.
http://blog.m-ri.de/index.php/2009/02/15/slow-drawtext-performance-in-vista-and-windows-7-please-comment/

Also look for this
http://blogs.msdn.com/nickkramer/archive/2006/04/07/571162.aspx

  Jimmy




Replies:
Posted By: Oleg
Date Posted: 23 February 2009 at 3:30am
Hi,
Unfortunatelly we don't have another windows API to calculate size of rectangle for Multiline text.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: znakeeye
Date Posted: 24 February 2009 at 3:36am
Reverse engineering ftw! Look at the XP version of the function and make your own! :)

-------------
PokerMemento - http://www.pokermemento.com/


Posted By: terrym
Date Posted: 02 March 2009 at 4:46am
Please tell me what you need as I could have a class for you, or if Oleg wants to add WYSIWYG text drawing to XTP then drop me an email as we have already written our own WYSIWYG drawtext which gives same results for any device unlike windows function calls.


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net