Switch to Russian Home page of Alexander Kresin
Main Clipper HwGUI Five stones File utilities
Links KS Organizer My photo

Mouse support for Clipper 5.1, 5.2x applications.

For adding mouse capabilities into your Clipper applications you need:

1. Mouse library - written on C or Assembler set of functions, including, as minimum :
2. The replacement of INKEY() function, allowing input from keyboard and from mouse buttons.
3. Clipper routines, using above mentioned functions in

  1. I included into this package two mouse modules.

    First of them (clipmous.asm, clipmous.obj) - is a simple module, written by me with Assembler, which I use in some my applications (in DBC, for example). I don't think that it needs any comments, becouse it's really very simple, including only registers prepare, interrupt 33h calls and some macros from EXTENDA.MAC (one of Extend system files, included in Clipper package).

    The second module I get in FIDO conference RU.CLIPPER some years ago, it's written by Dmitry Grinenko. This is more sophisticated program, allowing pseudo-graphical mouse cursor. I include here author's package mouse.zip without any changes, so all comments are in Russian. If you'll want to use it, only include arrmouse.obj and amouse_c.obj into your link script.
    Mouse function calls are the same, as described above, as in my module, so you can use any of this two modules without changes in your clipper program.

  2. You'll find IN_KM() - the replacement for INKEY() function in getsys.prg, included in this package.
  3. And now about including mouse support into main components of Clipper interface.

[Download clipmous.zip - source code with sample][Return to the clipper page].

Hosted by www.Geocities.ws

1