(Up to LGI Documentation)

VMouse

All the mouse click event information.

class VMouse {
public:
	int x;
	int y;
	int Flags;
	bool Down;
	bool Double;

	bool Left() { return (Flags & MK_LEFT) != 0; }
	bool Middle() { return (Flags & MK_MIDDLE) != 0; }
	bool Right() { return (Flags & MK_RIGHT) != 0; }
	bool Ctrl() { return (Flags & MK_CONTROL) != 0; }
	bool Alt() { return (Flags & MK_ALT) != 0; }
	bool Shift() { return (Flags & MK_SHIFT) != 0; }
};

Built: 13/9/2001 2:28:31 PM
© 2001 Matthew Allen
Lgi HomePage