Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ Python ➜ MsgBox in Python

MsgBox in Python

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Nexes   (65 posts)  Bio
Date Sat 09 Jul 2005 05:11 AM (UTC)
Message
How do I get MsgBox to work in Python? Or will I have to make a plugin in VBScript and interface through that?
Top

Posted by Rakon   USA  (123 posts)  Bio
Date Reply #1 on Thu 14 Jul 2005 02:57 AM (UTC)
Message
Well for a message box in python, you'd need the tkLibs I think, and the syntax would be similar to the following

import win32gui
win32gui.MessageBox(0, "This is the message", "This is the title", 1)


Thats just off the top, if you need anything more serious try searching the Python docs, or Google.


Yes, I am a criminal.
My crime is that of curiosity.
My crime is that of judging people by what they say and think, not what they look like.
My crime is that of outsmarting you, something that you will never forgive me for.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


18,353 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.