|
|
|
|
Location:
W32STD.H
struct TPointerEvent;
Pointer event details.
The function TWsEvent::Pointer() is used to get this structure for a pointer event.
Defined in TPointerEvent:
EButton1Down, EButton1Up, EButton2Down, EButton2Up, EButton3Down, EButton3Up, EButtonRepeat, EDrag, EMove, ESwitchOn, TType, iModifiers, iParentPosition, iPosition, iType
TType
Pointer event types.
Note that the user actions that cause these events will vary according to the type of pointing device used.
|
TPoint iPosition;
Co-ordinates of the pointer event relative to the origin of the window it occurred in.
Positive co-ordinates indicate a position to the right of and down from the window's origin, negative co-ordinates indicate a position to the left and up.
TPoint iParentPosition;
Co-ordinates of the pointer event relative to the parent window of the window it occurred in.
Positive co-ordinates indicate a position to the right of and down from the window's origin, negative co-ordinates indicate a position to the left and up.