52 lines
2.3 KiB
C
52 lines
2.3 KiB
C
#IFNDEF MESSAGEBOX_H
|
|
#DEFINE MESSAGEBOX_H
|
|
|
|
#DEFINE CR CHR(13)
|
|
#DEFINE LF CHR(10)
|
|
#DEFINE CRLF CHR(13) + CHR(10)
|
|
|
|
*-- MessageBox buttons caption (RO)
|
|
#DEFINE MB_CAPTION_OK "\<De acord" && OK button caption
|
|
#DEFINE MB_CAPTION_CANCEL "\<Abandon" && Cancel button caption
|
|
#DEFINE MB_CAPTION_ABORT "\<Renunta" && Abort button caption
|
|
#DEFINE MB_CAPTION_RETRY "\<Repeta" && Retry button caption
|
|
#DEFINE MB_CAPTION_IGNORE "\<Ignora" && Ignore button caption
|
|
#DEFINE MB_CAPTION_YES "\<Da" && Yes button caption
|
|
#DEFINE MB_CAPTION_NO "\<Nu" && No button caption
|
|
|
|
*-- MessageBox icon file
|
|
#DEFINE MB_ICONINFORMATION_BMP "MB_IconInformation.bmp"
|
|
#DEFINE MB_ICONEXCLAMATION_BMP "MB_IconExclamation.bmp"
|
|
#DEFINE MB_ICONQUESTION_BMP "MB_IconQuestion.bmp"
|
|
#DEFINE MB_ICONSTOP_BMP "MB_ICONStop.bmp"
|
|
#DEFINE MB_ICONCHATBOT_BMP "chatbot.bmp"
|
|
|
|
*-- MessageBox parameters
|
|
#DEFINE MB_OK 0 && OK button only
|
|
#DEFINE MB_OKCANCEL 1 && OK and Cancel buttons
|
|
#DEFINE MB_ABORTRETRYIGNORE 2 && Abort, Retry, and Ignore buttons
|
|
#DEFINE MB_YESNOCANCEL 3 && Yes, No, and Cancel buttons
|
|
#DEFINE MB_YESNO 4 && Yes and No buttons
|
|
#DEFINE MB_RETRYCANCEL 5 && Retry and Cancel buttons
|
|
|
|
#DEFINE MB_ICONSTOP 16 && Critical message
|
|
#DEFINE MB_ICONQUESTION 32 && Warning query
|
|
#DEFINE MB_ICONEXCLAMATION 48 && Warning message
|
|
#DEFINE MB_ICONINFORMATION 64 && Information message
|
|
|
|
#DEFINE MB_APPLMODAL 0 && Application modal message box
|
|
#DEFINE MB_DEFBUTTON1 0 && First button is default
|
|
#DEFINE MB_DEFBUTTON2 256 && Second button is default
|
|
#DEFINE MB_DEFBUTTON3 512 && Third button is default
|
|
#DEFINE MB_SYSTEMMODAL 4096 && System Modal
|
|
|
|
*-- MsgBox return values
|
|
#DEFINE IDOK 1 && OK button pressed
|
|
#DEFINE IDCANCEL 2 && Cancel button pressed
|
|
#DEFINE IDABORT 3 && Abort button pressed
|
|
#DEFINE IDRETRY 4 && Retry button pressed
|
|
#DEFINE IDIGNORE 5 && Ignore button pressed
|
|
#DEFINE IDYES 6 && Yes button pressed
|
|
#DEFINE IDNO 7 && No button pressed
|
|
|
|
#ENDIF |