Try below info, taken from the "common methods" of Win32::GUI. Hope this helps, Jamal
GetTextExtentPoint32(STRING, [FONT]) Returns a two element array containing the x and y size of the specified STRING in the window (with the specified FONT), or undef on errors. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Loughran Sent: Wednesday, December 27, 2006 7:30 AM To: Perl-Win32-GUI-Users@lists.sourceforge.net Subject: [perl-win32-gui-users] Get width/height of text + font Hi all Probably a very simple answer to this (but it appears I may have missed it :) If I have created a font object, is it possible to get the width/height bounding box dimensions for text string if it was to be drawn/placed on screen using the font object? Many thanks for your help Steve ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users http://perl-win32-gui.sourceforge.net/