[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Parameters of a CMMouseWheel message.
Source position: controls.pp line 97
type TCMMouseWheel = record |
||
MSg: Cardinal; |
|
The exact Message ID (WM_MOUSEWHEEL?). |
ShiftState: TShiftState; |
|
State of modifier keys and mouse buttons. |
Unused: Byte; |
|
inserted for alignment only. |
WheelDelta: SmallInt; |
||
case Integer of |
||
0: ( |
||
XPos: SmallInt; |
|
Mouse X position. |
YPos: SmallInt; |
|
Mouse Y position. |
); |
||
1: ( |
||
Pos: TSmallPoint; |
|
Mouse position. |
Result: LRESULT; |
|
Zero indicates that the message was handled. |
); |
||
end; |
Details held include: the Message associated with the wheel; the shift state (ie whether Shift, Alt, Control etc keys have been pressed); mouse position and the message Result.
lazarus-ccr.sourceforge.net |