Will anyone help me on how to catch a button when a user click on a msgbox()? Let's say I have this:

Code:
msgbox("You've entered the wrong password", MsgBoxStyle.Critical)
Now when the user click the "OK" button on that msgbox(), I want to catch that and do something else with it.

Any help is appreciated.

ljCharlie