mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 10:48:30 +02:00
+ added the win16api accelerator support functions
git-svn-id: trunk@31788 -
This commit is contained in:
parent
04ef7fe971
commit
4966993508
@ -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}
|
||||
|
@ -1916,3 +1916,7 @@ type
|
||||
|
||||
const
|
||||
WM_TIMER = $0113;
|
||||
|
||||
type
|
||||
{ Accelerator support }
|
||||
HACCEL = THandle;
|
||||
|
Loading…
Reference in New Issue
Block a user