Re: something more about GetTextExtentExPoint

Tech-Archive recommends: Fix windows errors by optimizing your registry



Actually, you can't get the space of every character anyway. I went through this exercise
last year, and essentially GetTextExtent class operations all share a common set of bugs
with respect to computing string lengths when other than plain-vanilla fonts are used.
joe

On Wed, 29 Aug 2007 18:46:44 -0700, tather <tather@xxxxxxxxx> wrote:

Hi, Everyone
I need a api like GetTextExtentExPoint,but with more feature.
1) the text be drawn with feature DT_WORDBREAK & DT_EDITCONTROL

If I use Drawtext(), I can't get the space info of every char,

Is there any other api fulfil me?
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.