About button,help me

Recommended Posts

comeonbaby 0

comeonbaby 0

(Sorry about my bad E first).So i want code a script when i click on a button then dislay a message box.But i dont know how to code.I tried to code a script but it's incomplete.Anyone can help me ? thx in advance!

Share this post

Link to post

Share on other sites

comeonbaby 0

comeonbaby 0

Thx everybody but i just dont understand why GUIGetMsg() function can listen event of GUICtrlCreateButton() ?? GUICtrlCreateButton() return id of control ?? and GUIGetMsg() return any event have occurred that have a list in help file ?

Share this post

Link to post

Share on other sites

Paulie 26

Paulie 26

Thx everybody but i just dont understand why GUIGetMsg() function can listen event of GUICtrlCreateButton() ?? GUICtrlCreateButton() return id of control ?? and GUIGetMsg() return any event have occurred that have a list in help file ?

GuiGetMsg() CAN and IS listening for the even of the button created with GuiCtrlCreateButton()

It just needs to be in a loop, meaning it has to be consistently checked...