mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 13:08:49 +02:00
+ added the win16api timer support functions
git-svn-id: trunk@31787 -
This commit is contained in:
parent
8821194c21
commit
04ef7fe971
@ -1007,3 +1007,8 @@ function SwapMouseButton(fSwap: BOOL): BOOL; external 'USER';
|
||||
|
||||
function GetSysModalWindow: HWND; external 'USER';
|
||||
function SetSysModalWindow(hwnd: HWND): HWND; external 'USER';
|
||||
|
||||
{ Timer support }
|
||||
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';
|
||||
|
@ -1909,3 +1909,10 @@ type
|
||||
const
|
||||
{ Mode control }
|
||||
WM_CANCELMODE = $001F;
|
||||
|
||||
type
|
||||
{ Timer support }
|
||||
TIMERPROC = procedure(hwnd: HWND; msg, idTimer: UINT; dwTime: DWORD); far;
|
||||
|
||||
const
|
||||
WM_TIMER = $0113;
|
||||
|
Loading…
Reference in New Issue
Block a user