Hello,
Please, download latest beta version 1.49
https://www.dropbox.com/s/bsk683d3yf6jv … 9.zip?dl=0
I added function MessageDlgTimeOut(Msg, Caption: string; Flags: integer; Milliseconds: integer): integer;
example of use:
procedure Form1_Button1_OnClick (Sender: string; var Cancel: boolean);
var
iResult: integer;
begin
iResult := MessageDlgTimeOut('Hello', 'Caption', MB_YESNO+MB_ICONINFORMATION, 2000); // 2 seconds
if iResult = IDTIMEOUT then ShowMessage('TimeOut');
if iResult = IDYES then ShowMessage('Yes');
if iResult = IDNO then ShowMessage('No');
end;
also you can use other buttons and icons for the message dialog:
Buttons:
MB_OK
MB_YESNO
MB_YESNOCANCEL
MB_OKCANCEL
MB_ABORTRETRYIGNORE
MB_HELP
MB_RETRYCANCEL
Icons:
MB_ICONEXCLAMATION
MB_ICONWARNING
MB_ICONINFORMATION
MB_ICONASTERISK
MB_ICONQUESTION
MB_ICONSTOP
MB_ICONERROR
MB_ICONHAND
Results:
IDTIMEOUT
IDYES
IDOK
IDNO
IDABORT
IDCANCEL
IDCONTINUE
IDIGNORE
IDRETRY
IDTRYAGAIN
Dmitry.