comctl32/treeview: Always draw a '+' for TVIS_EXPANDPARTIAL state.
This commit is contained in:
parent
e2e98ae36f
commit
4b741e8d2f
|
@ -2453,7 +2453,8 @@ TREEVIEW_DrawItemLines(const TREEVIEW_INFO *infoPtr, HDC hdc, const TREEVIEW_ITE
|
|||
MoveToEx(hdc, centerx - plussize + 1, centery, NULL);
|
||||
LineTo(hdc, centerx + plussize, centery);
|
||||
|
||||
if (!(item->state & TVIS_EXPANDED))
|
||||
if (!(item->state & TVIS_EXPANDED) ||
|
||||
(item->state & TVIS_EXPANDPARTIAL))
|
||||
{
|
||||
MoveToEx(hdc, centerx, centery - plussize + 1, NULL);
|
||||
LineTo(hdc, centerx, centery + plussize);
|
||||
|
@ -2464,7 +2465,8 @@ TREEVIEW_DrawItemLines(const TREEVIEW_INFO *infoPtr, HDC hdc, const TREEVIEW_ITE
|
|||
Rectangle(hdc, centerx - plussize + 1, centery - 1,
|
||||
centerx + plussize, centery + 2);
|
||||
|
||||
if (!(item->state & TVIS_EXPANDED))
|
||||
if (!(item->state & TVIS_EXPANDED) ||
|
||||
(item->state & TVIS_EXPANDPARTIAL))
|
||||
{
|
||||
Rectangle(hdc, centerx - 1, centery - plussize + 1,
|
||||
centerx + 2, centery + plussize);
|
||||
|
|
Loading…
Reference in New Issue