次の方法で共有


Event Handling Routines

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

_ActivateHandler( )

Adds a function handler to the end of the list of event handlers.

_ActivateIdle( )

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( )

Removes the specified handler from the event processor list.

_DeActivateIdle( )

Removes the specified routine from the idle loop.

_DefaultProcess( )

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

_GetNextEvent( )

Reads the next event into the EventRec and returns the event type.

_InKey( )

Returns the next key typed during the timeout period. The timeout period is specified as a number of MS-DOS timer ticks.

_MousePos( )

Fills in pt with the current position of the mouse.

_MousePosP( )

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