+ added the win16api accelerator support functions

git-svn-id: trunk@31788 -
This commit is contained in:
nickysn 2015-09-23 13:27:52 +00:00
parent 04ef7fe971
commit 4966993508
2 changed files with 11 additions and 0 deletions

View File

@ -1012,3 +1012,10 @@ function SetSysModalWindow(hwnd: HWND): HWND; external 'USER';
function SetTimer(hwnd: HWND; idTimer, uTimeout: UINT; tmprc: TIMERPROC): UINT; external 'USER';
function SetTimer(hwnd: HWND; idTimer, uTimeout: UINT; tmprc: TFarProc): UINT; external 'USER';
function KillTimer(hwnd: HWND; idTimer: UINT): BOOL; external 'USER';
{ Accelerator support }
function LoadAccelerators(hinst: HINST; lpszTableName: LPCSTR): HACCEL; external 'USER';
function TranslateAccelerator(hwnd: HWND; haccl: HACCEL; lpmsg: LPMSG): SmallInt; external 'USER';
{$ifdef VAR_PARAMS_ARE_FAR}
function TranslateAccelerator(hwnd: HWND; haccl: HACCEL; var msg: MSG): SmallInt; external 'USER';
{$endif}

View File

@ -1916,3 +1916,7 @@ type
const
WM_TIMER = $0113;
type
{ Accelerator support }
HACCEL = THandle;