[COMCTL32]

- rebar: actually pass the hittest flag to the NM_NCHITTEST notification.
CORE-11532

svn path=/trunk/; revision=72116
This commit is contained in:
Giannis Adamopoulos 2016-08-05 17:16:22 +00:00
parent 9a2f59499f
commit c515594b02

View file

@ -3378,7 +3378,7 @@ REBAR_NCHitTest (const REBAR_INFO *infoPtr, LPARAM lParam)
(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 @@ REBAR_Paint (const REBAR_INFO *infoPtr, HDC hdc)
{
if (hdc) {
TRACE("painting\n");
REBAR_EraseBkGnd (infoPtr, hdc);
REBAR_Refresh (infoPtr, hdc);
} else {
PAINTSTRUCT ps;