diff --git a/lcl/grids.pas b/lcl/grids.pas index a1ab619c06..76ff5c2da8 100644 --- a/lcl/grids.pas +++ b/lcl/grids.pas @@ -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 diff --git a/lcl/lmessages.pp b/lcl/lmessages.pp index 3dfd8fb8c9..d7b8856ade 100644 --- a/lcl/lmessages.pp +++ b/lcl/lmessages.pp @@ -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