Unidad Qdialogs:
Código Delphi
[-]TMsgDlgBtn = (mbNone, mbOk, mbCancel, mbYes, mbNo, mbAbort, mbRetry, mbIgnore);
TMsgDlgButtons = set of TMsgDlgBtn;
Unidad windows, la que se llama con Application.messageBox
Código Delphi
[-]
{$EXTERNALSYM MB_OK}
MB_OK = $00000000;
{$EXTERNALSYM MB_OKCANCEL}
MB_OKCANCEL = $00000001;
{$EXTERNALSYM MB_ABORTRETRYIGNORE}
MB_ABORTRETRYIGNORE = $00000002;
{$EXTERNALSYM MB_YESNOCANCEL}
MB_YESNOCANCEL = $00000003;
{$EXTERNALSYM MB_YESNO}
MB_YESNO = $00000004;
{$EXTERNALSYM MB_RETRYCANCEL}
MB_RETRYCANCEL = $00000005;
Creo que estas mezclando las constantes, usa siempre las que tienen el guion bajo.
Un saludo y espero que sea eso