Hallo,
für den OK-Button so:
Delphi-Quellcode:
if (MessageBox(0, 'Blabla', '', MB_ICONINFORMATION or MB_OKCANCEL) = idOk) then
...
Edit: ups, Du meinst den Message-Dialog; sorry
Delphi-Quellcode:
if (MessageDlg('Blabla', mtInformation, [mbOK, mbCancel], 0) = mrOk) then
...