Author: gadamopoulos
Date: Fri Aug 5 17:16:22 2016
New Revision: 72116
URL:
http://svn.reactos.org/svn/reactos?rev=72116&view=rev
Log:
[COMCTL32]
- rebar: actually pass the hittest flag to the NM_NCHITTEST notification.
CORE-11532
Modified:
trunk/reactos/dll/win32/comctl32/rebar.c
Modified: trunk/reactos/dll/win32/comctl32/rebar.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comctl32/rebar.c…
==============================================================================
--- trunk/reactos/dll/win32/comctl32/rebar.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comctl32/rebar.c [iso-8859-1] Fri Aug 5 17:16:22 2016
@@ -3378,7 +3378,7 @@
(INT *)&nmmouse.dwItemSpec);
nmmouse.dwItemData = 0;
nmmouse.pt = clpt;
- nmmouse.dwHitInfo = 0;
+ nmmouse.dwHitInfo = scrap;
if ((i = REBAR_Notify((NMHDR *) &nmmouse, infoPtr, NM_NCHITTEST))) {
TRACE("notify changed return value from %ld to %d\n",
ret, i);
@@ -3450,6 +3450,7 @@
{
if (hdc) {
TRACE("painting\n");
+ REBAR_EraseBkGnd (infoPtr, hdc);
REBAR_Refresh (infoPtr, hdc);
} else {
PAINTSTRUCT ps;