[PATCH] comctl32/listview: Don't send LVN_ENDLABELEDIT twice under some circumstances
Nikolay Sivov
nsivov at codeweavers.com
Sat Aug 25 15:24:50 CDT 2018
On 08/25/2018 11:19 PM, Fabian Maurer wrote:
> Looking at the code again, it does seem quite inconvenient to mask
> bDoChangeNotify.
>
> > bOldChange = infoPtr->bDoChangeNotify;
>
> > if (infoPtr->dwStyle & LVS_OWNERDATA) infoPtr->bDoChangeNotify = FALSE;
>
> > ...
>
> > infoPtr->bDoChangeNotify = bOldChange;
>
> I'm not sure, how could I do this in a nice way with a bitmask?
>
Exactly how it's done now,
bOldChange = mask & NOTIFY_ITEMCHANGE;
mask &= ~NOTIFY_ITEMCHANGE;
mask |= bOldChange;
> Regards,
>
> Fabian Maurer
>
More information about the wine-devel
mailing list