Sign in to follow this  
Followers 0
Kyme

MsgBox help

5 posts in this topic

#1 ·  Posted (edited)

i wanna make one msgbox whit yes and no like this

MsgBox(4, "Test", "Press???", 10)

While 1

$msg = GUIGetMsg()

If $msg = "Yes" Then

MsgBox(4, "Test", "y", 10)

Exit

EndIf

If $msg = "No" Then

MsgBox(4, "Test", "n", 10)

Exit

EndIf

WEnd

but mine don't work....i wanna make it when i press yes to msgbox "y" and when no "n"

how can i make it to work???

tnx

sorry for duble theard....i don't know why i make duble time....sry again

Edited by Kyme

Share this post


Link to post
Share on other sites



$question = MsgBox(4, "test", "press???")
if $question = 6 Then
    MsgBox(0, "Test", "YES has been pressed")
Else
    MsgBox(0, "Test", "NO has been pressed")
EndIf
tnx man....it work....

cya

Share this post


Link to post
Share on other sites

Just one more thing. U did

GUICtrlRead()oÝ÷ Ø­hË b²{fi×°ØZºÚ"µÍÕRPÜX]J

-AlmarM-


Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

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