> I wish to compare the length of a window to the length of a string of text. > The text would be in x characters long, but widget window width would be in > pixels or millimeters.
In Win32, the proper API is GetTextExtent() or GetTabbedTextExtent(). There's also GetOutputTextExtent() and GetOutputTabbedTextExtent(). Since you say "widget" I am guessing you're not using Win32:: module though. Hope this helps. --- John _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users