problem regarding font metrics

Hii Alll
I have a problem regarding font metrics.
I have to simulate the keyboard in one of my applications.
To do so i have to move the curson as soon as any key is pressed. But the problem is i need to move the cursor more when lets say ‘w’ is typed in comparison to ‘i’. So on with many other alphabets. How do we go about this.
Please help me. Is there any concpet of font metrics which tells us about the width and height of fonts.
Thanks in advance.


Look at the following functions in MSDN:


But what the hell is the link with OpenGL ???