The valid values for the style are:
The MessageBox function return value corresponds to the button which the user pressed:
if (MessageBox("Do you want to cancel the build", "Cancel Build", mbOKCANCEL) === mrOK){ // build needs to stop }