#include <wg_message.h>
Inheritance diagram for wGui::CMouseMessage:
Definition at line 155 of file wg_message.h.
Constants for all the mouse buttons, these values can be ORed together for more than one button.
NONE | No mouse button. |
LEFT | The left mouse button. |
RIGHT | The right mouse button. |
MIDDLE | The middle mouse button. |
WHEELUP | The mouse wheel moved up. |
WHEELDOWN | The mouse wheel moved down. |
Definition at line 159 of file wg_message.h.
wGui::CMouseMessage::CMouseMessage | ( | const EMessageType | MessageType, | |
const CMessageClient * | pDestination, | |||
const CMessageClient * | pSource, | |||
CPoint | Point, | |||
CPoint | Relative, | |||
unsigned int | Button | |||
) |
Construct a new mouse message
MessageType | The type of message being created | |
pDestination | A pointer to the window that the message is destined for (0 for no specific destination, or to broadcast to all) | |
pSource | A pointer to the window that created the message | |
Point | The location of the mouse cursor | |
Relative | The relative movement of the cursor (only valid for MOUSE_MOVE messages) | |
Button | An OR of all the EMouseButton values indicating which mouse buttons are pressed |
Definition at line 63 of file wg_message.cpp.