Mast3rpyr0 Posted August 7, 2007 Share Posted August 7, 2007 Is there any way to find the number of pixels that a string takes without having to write it out first? My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here! Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 7, 2007 Moderators Share Posted August 7, 2007 Is there any way to find the number of pixels that a string takes without having to write it out first?What? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Mast3rpyr0 Posted August 7, 2007 Author Share Posted August 7, 2007 Lol never mind I give up on this project. My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here! Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 7, 2007 Moderators Share Posted August 7, 2007 Lol never mind I give up on this project.Sorry to hear that.. I was trying to understand what you were talking about... but no specifics were given...Anyway... this may/may not be of some help...http://msdn2.microsoft.com/en-us/library/ms534233.aspx Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Blue_Drache Posted August 7, 2007 Share Posted August 7, 2007 Ok, ... Pixels in a string. Wow. Talk about mixing one's metaphors. Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
Richard Robertson Posted August 7, 2007 Share Posted August 7, 2007 The function you want is MeasureString I believe. You give it a string, a font, and a device context if I remember correctly. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now