Fix of ListView invalidation in LISTVIEW_SetBkColor.
This commit is contained in:
parent
000e7606ab
commit
13f1fb23fe
@ -6808,8 +6808,10 @@ static LRESULT LISTVIEW_SetBkColor(HWND hwnd, COLORREF clrBk)
|
|||||||
{
|
{
|
||||||
LISTVIEW_INFO *infoPtr = (LISTVIEW_INFO *)GetWindowLongW(hwnd, 0);
|
LISTVIEW_INFO *infoPtr = (LISTVIEW_INFO *)GetWindowLongW(hwnd, 0);
|
||||||
|
|
||||||
infoPtr->clrBk = clrBk;
|
if(infoPtr->clrBk!=clrBk){
|
||||||
InvalidateRect(hwnd, NULL, TRUE);
|
infoPtr->clrBk = clrBk;
|
||||||
|
InvalidateRect(hwnd, NULL, TRUE);
|
||||||
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user