Wierd, how do I found out whether the user pressed okay or cancel?

this doesn't work, because it doesn't seem to return ****.

Code:
int a = MessageBox(NULL,"Press ok or cancel","Mmmm",1);