Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Codejock DrawText & DT_CALCRECT
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Codejock DrawText & DT_CALCRECT

 Post Reply Post Reply
Author
Message
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 516
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Topic: Codejock DrawText & DT_CALCRECT
    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

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post 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/
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.062 seconds.