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:
paul 2008-09-10 03:09:55 +00:00
parent d49c89985a
commit fb4e50d0fe
2 changed files with 9 additions and 9 deletions

View File

@ -53,14 +53,14 @@ const
GRIDFILEVERSION = 3; // Introduced Col/Row FixedAttr and NormalAttr GRIDFILEVERSION = 3; // Introduced Col/Row FixedAttr and NormalAttr
const const
GM_SETVALUE = LM_USER + 100; GM_SETVALUE = LM_INTERFACELAST + 100;
GM_GETVALUE = LM_USER + 101; GM_GETVALUE = LM_INTERFACELAST + 101;
GM_SETGRID = LM_USER + 102; GM_SETGRID = LM_INTERFACELAST + 102;
GM_SETBOUNDS = LM_USER + 103; GM_SETBOUNDS = LM_INTERFACELAST + 103;
GM_SELECTALL = LM_USER + 104; GM_SELECTALL = LM_INTERFACELAST + 104;
GM_SETMASK = LM_USER + 105; GM_SETMASK = LM_INTERFACELAST + 105;
GM_SETPOS = LM_USER + 106; GM_SETPOS = LM_INTERFACELAST + 106;
GM_READY = LM_USER + 107; GM_READY = LM_INTERFACELAST + 107;
const const

View File

@ -46,7 +46,7 @@ const
// RECEIVED from the interface, here are no defines // RECEIVED from the interface, here are no defines
// of messages send to the interface // 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; WM_USER = LM_USER;
// reserve some space for LM_USER messages // reserve some space for LM_USER messages