![]() |
Codejock DrawText & DT_CALCRECT |
Post Reply ![]() |
Author | |
jimmy ![]() Senior Member ![]() Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Unfortunatelly we don't have another windows API to calculate size of rectangle for Multiline text.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
Reverse engineering ftw! Look at the XP version of the function and make your own! :)
|
|
PokerMemento - http://www.pokermemento.com/
|
|
![]() |
|
terrym ![]() Senior Member ![]() Joined: 13 April 2007 Status: Offline Points: 836 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |