mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 10:35:58 +02:00
grids: don't intersect with window messages which are > WM_USER (UDM_SETBUDDY, etc). fixes #0012112
git-svn-id: trunk@16518 -
This commit is contained in:
parent
d49c89985a
commit
fb4e50d0fe
@ -53,14 +53,14 @@ const
|
||||
GRIDFILEVERSION = 3; // Introduced Col/Row FixedAttr and NormalAttr
|
||||
|
||||
const
|
||||
GM_SETVALUE = LM_USER + 100;
|
||||
GM_GETVALUE = LM_USER + 101;
|
||||
GM_SETGRID = LM_USER + 102;
|
||||
GM_SETBOUNDS = LM_USER + 103;
|
||||
GM_SELECTALL = LM_USER + 104;
|
||||
GM_SETMASK = LM_USER + 105;
|
||||
GM_SETPOS = LM_USER + 106;
|
||||
GM_READY = LM_USER + 107;
|
||||
GM_SETVALUE = LM_INTERFACELAST + 100;
|
||||
GM_GETVALUE = LM_INTERFACELAST + 101;
|
||||
GM_SETGRID = LM_INTERFACELAST + 102;
|
||||
GM_SETBOUNDS = LM_INTERFACELAST + 103;
|
||||
GM_SELECTALL = LM_INTERFACELAST + 104;
|
||||
GM_SETMASK = LM_INTERFACELAST + 105;
|
||||
GM_SETPOS = LM_INTERFACELAST + 106;
|
||||
GM_READY = LM_INTERFACELAST + 107;
|
||||
|
||||
|
||||
const
|
||||
|
@ -46,7 +46,7 @@ const
|
||||
// RECEIVED from the interface, here are no defines
|
||||
// of messages send to the interface
|
||||
//-------------
|
||||
LM_USER = $400; // MWE: changed from $100 to $400 since they were in the windows range
|
||||
LM_USER = $400; // standard WM_USER value
|
||||
WM_USER = LM_USER;
|
||||
|
||||
// reserve some space for LM_USER messages
|
||||
|
Loading…
Reference in New Issue
Block a user