Event Handling Routines

JavaScript Editor js editor     Web development 



Main Page

These API routines allow you to create event handlers and process Visual FoxPro events.

_ActivateHandler( ) API Library Routine


Adds a function handler to the end of the list of event handlers.
_ActivateIdle( ) API Library Routine


Adds a routine to the list of routines called when Visual FoxPro is waiting for user input or for an event to time out.
_DeActivateHandler( ) API Library Routine


Removes the specified handler from the event processor list.
_DeActivateIdle( ) API Library Routine


Removes the specified routine from the idle loop.
_DefaultProcess( ) API Library Routine


Provides the default event processing for an event returned by _GetNextEvent(В ) when the event doesn't need special handling.
_GetNextEvent( ) API Library Routine


Reads the next event into the EventRec and returns the event type.
_InKey( ) API Library Routine


Returns the next key typed during the timeout period. The timeout period is specified as a number of MS-DOS timer ticks.
_MousePos( ) API Library Routine


Fills in pt with the current position of the mouse.
_MousePosP( ) API Library Routine


Fills in pt with the current position of the mouse in pixels.

See Also



JavaScript Editor js editor     Web development