measure of text in pixels

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 :slight_smile:

GetTextExtentPoint32

A lot of thanks!!!