Winapi.Messages.TWMMouseWheel
Delphi
TWMMouseWheel = record
Msg: Cardinal;
MsgFiller: TDWordFiller;
Keys: SmallInt;
WheelDelta: SmallInt;
KeysWhellFiller: TDWordFiller;
case Integer of
0: (
XPos: Smallint;
YPos: Smallint;
XYPosFiller: TDWordFiller);
1: (
Pos: TSmallPoint;
PosFiller: TDWordFiller;
Result: LRESULT);
end;
C++
struct DECLSPEC_DRECORD TWMMouseWheel
{
public:
unsigned Msg;
short Keys;
short WheelDelta;
public:
union
{
struct
{
System::Types::TSmallPoint Pos;
NativeInt Result;
};
struct
{
short XPos;
short YPos;
};
};
};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
record struct |
public | Winapi.Messages.pas Winapi.Messages.hpp |
Winapi.Messages | Winapi.Messages |
Description
Windows message record for WM_MOUSEWHEEL.
For more information about WM_MOUSEWHEEL message, see the documentation in Windows Dev Center.
http://msdn.microsoft.com/library/en-us/windows/desktop/ms645617.aspx