mirror of
https://github.com/reactos/reactos.git
synced 2025-06-04 00:40:31 +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);
|
(INT *)&nmmouse.dwItemSpec);
|
||||||
nmmouse.dwItemData = 0;
|
nmmouse.dwItemData = 0;
|
||||||
nmmouse.pt = clpt;
|
nmmouse.pt = clpt;
|
||||||
nmmouse.dwHitInfo = 0;
|
nmmouse.dwHitInfo = scrap;
|
||||||
if ((i = REBAR_Notify((NMHDR *) &nmmouse, infoPtr, NM_NCHITTEST))) {
|
if ((i = REBAR_Notify((NMHDR *) &nmmouse, infoPtr, NM_NCHITTEST))) {
|
||||||
TRACE("notify changed return value from %ld to %d\n",
|
TRACE("notify changed return value from %ld to %d\n",
|
||||||
ret, i);
|
ret, i);
|
||||||
|
@ -3450,6 +3450,7 @@ REBAR_Paint (const REBAR_INFO *infoPtr, HDC hdc)
|
||||||
{
|
{
|
||||||
if (hdc) {
|
if (hdc) {
|
||||||
TRACE("painting\n");
|
TRACE("painting\n");
|
||||||
|
REBAR_EraseBkGnd (infoPtr, hdc);
|
||||||
REBAR_Refresh (infoPtr, hdc);
|
REBAR_Refresh (infoPtr, hdc);
|
||||||
} else {
|
} else {
|
||||||
PAINTSTRUCT ps;
|
PAINTSTRUCT ps;
|
||||||
|
|
Loading…
Reference in a new issue