Jump to content

Create Gui With Same Height And Font As Default Msgbox?


Recommended Posts

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
Link to comment
Share on other sites

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


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

Link to comment
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!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...