rmMouseEvents.cc  
  Programmatic Mouse Event Generation
 


This is the test form for a non visible custom control which can simply be dropped onto the design surface of a form, and then provides the ability to generate mouse events from your code.

It is intended to provide the developer with an easy means of generating Mouse Clicks, Mouse moves, Mouse drag selections or any other combination of mouse events from their code.

Functions are provide for both screen and form coordinate mouse location.

This control relies on the use of _app.ExecuteMessages() to ensure that mouse event messages and other calls are processed with correct timing. It is therefore not recommended for use with versions of dBASE less than PLUS 2.5. The control has been coded however to allow it to work as much as possible with lesser versions, but developers should be aware of certain limitations primarily involving positioning with the form*() functions.