msgbox ("hi")
Hey guys, what is the code for a message box to have another button like a continue and close button? the standard msgbox just has an ok button. how do add my own/or change the properties of it?
Need Help With Coding or Something??? MSN me
zmansquared@hotmail.com
I am the one and only Microsoft Fag!!!
Quote:
Originally Posted by Arhk
All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
~
Take this Pic everyone!
next-
MessageBox
If you scroll down you'll see the other button types. E.g. abort,cancel,continue etc.
MessageBox's return value is one of the button ID's if it's successful. I guess you can use if statements from there.
if IDABORT do this
if IDCONTINUE do this..
Sorry I don't know any VB but I thought this might help.
Last edited by Void; 03-02-2010 at 06:48 PM.
Code:If MsgBox("Heya Heya Heya This works " , vbOKCancel) = vbOk Then yad yada Else yada yada End IfCode:Dim MsgResponse As Variant MsgResponse = MsgBox("Yada Yada Yada", vbOKCancel) If MsgResponse = vbOk Then Yada Yada Else ' means cancel Yada yada Exit Sub End If
Last edited by NextGen1; 03-02-2010 at 07:25 PM.
Sweet thanks Gen. you rock once again
Need Help With Coding or Something??? MSN me
zmansquared@hotmail.com
I am the one and only Microsoft Fag!!!
Quote:
Originally Posted by Arhk
All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
~
Take this Pic everyone!
next-
Not a problem, and your welcome