Sign in to follow this  
Followers 0
emendelson

Create Gui With Same Height And Font As Default Msgbox?

3 posts in this topic

#1 ·  Posted (edited)

Is there a way to create a GUI that is fairly certain to have the same fonts as the default MsgBox and also the same height (for a one-line label)? I use message boxes in most of my script, but want to have a "Please wait..." message appear while the script goes through some lengthy invisible processes, and, if I understand things correctly (not necessarily the case), a GUI is required for this.

Any help gratefully received.

Edited by Edward Mendelson

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Is there a way to create a GUI that is fairly certain to have the same fonts as the default MsgBox and also the same height (for a one-line label)? I use message boxes in most of my script, but want to have a "Please wait..." message appear while the script goes through some lengthy invisible processes, and, if I understand things correctly (not necessarily the case), a GUI is required for this.

Any help gratefully received.

Create a normal meaasgebox and use the AutoIt Window Info tool to findout the sizing.

Edit - I played around and the size I get is 75 for height.

Edited by BigDod


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

Create a normal meaasgebox and use the AutoIt Window Info tool to findout the sizing.

Edit - I played around and the size I get is 75 for height.

Yes, 75 looks right - many thanks for that. Now if I can figure out the algorithm that applies to the font size, centering, etc., in the standard message box, this should work out perfectly. Thanks again!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0