PDA

View Full Version : measure of text in pixels



luisillo
08-24-2006, 03: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, 04:30 AM
GetTextExtentPoint32

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