PDA

View Full Version : measure of text in pixels



luisillo
08-24-2006, 04:13 AM
I wanna measure the widht of a text in pixels,
because i wanna make a rectangle 'wrapping' the
text (as a tooltip).
I'm using wglUseFontBitmaps and i'm not able to
found any function that can help me.

Anyone knows?

Thanks :)

V-man
08-24-2006, 05:30 AM
GetTextExtentPoint32

luisillo
08-24-2006, 07:53 AM
A lot of thanks!!!