Changeset 17 for trunk/Messg.pas
- Timestamp:
- Jan 8, 2017, 11:21:02 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Messg.pas
r9 r17 92 92 else 93 93 begin 94 if integer( Msg.LParamHi) >= Top + TitleHeight then94 if integer((Msg.LParam shr 16) and $ffff) >= Top + TitleHeight then 95 95 Msg.result := HTCLIENT 96 96 else … … 100 100 begin 101 101 ControlBounds := Controls[i].BoundsRect; 102 if (integer(Msg.LParam Lo) >= Left + ControlBounds.Left) and103 (integer(Msg.LParam Lo) < Left + ControlBounds.Right) and104 (integer( Msg.LParamHi) >= Top + ControlBounds.Top) and105 (integer( Msg.LParamHi) < Top + ControlBounds.Bottom) then102 if (integer(Msg.LParam and $ffff) >= Left + ControlBounds.Left) and 103 (integer(Msg.LParam and $ffff) < Left + ControlBounds.Right) and 104 (integer((Msg.LParam shr 16 ) and $ffff) >= Top + ControlBounds.Top) and 105 (integer((Msg.LParam shr 16) and $ffff) < Top + ControlBounds.Bottom) then 106 106 begin 107 107 Msg.result := HTCLIENT;
Note:
See TracChangeset
for help on using the changeset viewer.