Functions | |
short | mt_evnt_button (short Clicks, short WhichButton, short WhichState, short *Mx, short *My, short *ButtonState, short *KeyState, short *global_aes) |
short | mt_evnt_dclick (short ToSet, short SetGet, short *global_aes) |
short | mt_evnt_keybd (short *global_aes) |
short | mt_evnt_mesag (short MesagBuf[], short *global_aes) |
short | mt_evnt_mouse (short EnterExit, short InX, short InY, short InW, short InH, short *OutX, short *OutY, short *ButtonState, short *KeyState, short *global_aes) |
short | mt_evnt_multi (short Type, short Clicks, short WhichButton, short WhichState, short EnterExit1, short In1X, short In1Y, short In1W, short In1H, short EnterExit2, short In2X, short In2Y, short In2W, short In2H, short MesagBuf[], unsigned long Interval, short *OutX, short *OutY, short *ButtonState, short *KeyState, short *Key, short *ReturnCount, short *global_aes) |
short | mt_evnt_multi_fast (const EVMULT_IN *em_i, short MesagBuf[], EVMULT_OUT *em_o, short *global_aes) |
short | mt_evnt_timer (unsigned long Interval, short *global_aes) |
void | mt_EVNT_multi (short evtypes, short nclicks, short bmask, short bstate, const MOBLK *m1, const MOBLK *m2, unsigned long ms, EVNT *event, short *global_aes) |
The Event Library consists of a group of system calls which are used to monitor system messages including mouse clicks, keyboard usage, menu bar interaction, timer calls, and mouse tracking.
|
releases control to the operating system until the specified mouse button event has occurred.
The values 0x103, 1, 3 are for the clicks, mask and state are the best. Other combinations may generate too many messages what could cause problems especially in multitasking operating systems. This method works with mt_evnt_multi() as well. |
|
sets the mouse double-click response rate. This call is global, and thus, affects all applications.
|
|
relinquishes program control to the operating system until a valid keypress is available in the applications' message pipe.
|
|
releases control to the operating system until a valid system message is available in the applications' message pipe.
|
|
releases control to the operating system until the mouse enters or leaves a specified area of the screen.
|
|
see mt_evnt_multi().
|
|
suspends the application until a valid message that the application is interested in occurs.
|
|
suspends the application until a valid message that the application is interested in occurs.
|
|
releases control to the operating system until a specified amount of time has passed.
|