mirror of
https://github.com/reactos/reactos.git
synced 2025-06-02 07:56:16 +00:00
[COMCTL32]
- rebar: actually pass the hittest flag to the NM_NCHITTEST notification. CORE-11532 svn path=/trunk/; revision=72116
This commit is contained in:
parent
9a2f59499f
commit
c515594b02
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue