Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - gettextwidth() retrieves the width of a selected font http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GetTextWidth()         Retrieves the width of a selected font
--------------------------------------------------------------------------------

   Syntax:              GetTextWidth( <hWnd> )  --> <nFontWidth>


   Parameters:

   <hWnd>               Is is the handle of the window whose font height
                        is to be retrieved.

   Returns:

   <nFontWidth>         The width of the currently selected font for
                        that window.

   Source code:         SOURCE\\WINAPI\\GetTextW.c

   See also:            GetTextHeight()


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson