XMouse 3.0 - Mouse Controller

OFFLINE HELP

By: Tomer Filiba. [Email me]


INDEX

  • Intro
  • Credits
  • Functions
  • Notes
  • Please...

    Intro:

    XMouse is a Mouse Library for QuickBASIC 4.5 and 7.1. It includes all the functions one might ask for. If it does not, please Email me.
    It includes all the functions I have seen yet.

    [Up]

    Credits:

    XMouse 3.0 was made by: TOMER FILIBA
    Credits for the code:
  • Mouse Icons replacing and some of the icons - Dmitry Brant
  • Mouse Driver - Microsoft Corp
  • The program was composed together in the MouseFunc subroutine by: Tomer Filiba

    I took all the mouse functions and put them together under MouseFunc, for your convenience. Instead of working with 20 different subs, you just use MouseFunc. I think its easier that way.

    [Up]

    Functions:

    Here is the list of all the mouse functions:

    SUB: MouseFunc CMD$
    Function: Parameters: Description:
    SHOW [None] Shows the mouse
    HIDE [None] Hides the mouse
    INIT [None] Initialize the mouse, sets Mouse.Exist to TRUE or FALSE
    PUT X, Y Puts the mouse at X, Y
    RANGE X1, Y1, X2, Y2 Sets the range of the mouse (X1,Y1)-(X2,Y2)
    /RANGE [None] Sets the range to the whole screen
    MOVE X, Y Moves the mouse form its current location to X, Y
    SPEED XSpeed, YSpeed Sets the speed of the mouse (Right-Left speed, Up-Down Speed)
    /SPEED [None] Sets the default speed (9,9)
    HOT or HOTSPOT X, Y Sets the HOTSPOT of the mouse
    /HOT or /HOTSPOT [None] Sets the default HOTSPOT of the mouse (0,0)
    LOAD File$ Loads a Mouse Icon, but does not show it
    ICON [None] Sets Icon of the mouse, from a previously loaded icon
    REPLACE File$ Loads File$ and shows the icon
    /ICON [None] Resets the default mouse Icon
    REFRESH [None] Refreshes the mouse, may be useful sometimes



    As you might have noticed, there is no Mouse-Position function. That's why I made:

    MousePos

    It returns Mouse.X, Mouse.Y, Mouse.B, Mouse.OX (old X), Mouse.OY (old Y), Mouse.OB (old B), Mouse.Move (TRUE or FALSE).



    Usage:
  • MousePos
  • MouseFunc "put 320,240" [only an example]

    [Up]

    Usage Notes:

  • XMOUSE 3.0 is designed for: QuickBASIC 4.5 and 7.1
  • Needs MS-DOS version 3.0 and higher
  • Needs an INTEL 80286 CPU or higher
  • Needs a DOS/Windows Mouse Driver, Microsoft-Mouse Compatible.

  • When starting QB, use /L XMouse3B.QLB /AH
  • If you are using QB 7.1, you can use the XMouse3.QLB instead
  • Add '$INCLUDE:'XMouse3B.BI' for QB4.5 or 'XMouse3.BI' for QB7.1 when running

    [Up]

    Please...

    If you use XMouse 3.0, please Credit me. It can be something like:
    Mouse Support by: Tomer Filiba (ramot2k@n2.com).

    Thanks for all the people who contributed their Mouse Functions!
    Thank you for using my Mouse Controller!

    [Up]
    The Tomer Filiba (TF) Software Development Corporation Ltd. © All rights reserved, 2000.
    Goto The TF Corp - Official Website [here]