(Up to LGI Documentation)

VKey

Contains all the information pertaining to one key event.

class VKey {
public:
	uchar c;
	int Flags;
	int Data;
	bool Down;
	bool IsChar;

	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