File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -464,7 +464,8 @@ BOOLEAN PhTnpOnCreate(
464
464
Context -> CustomSelectedColor = GetSysColor (COLOR_HIGHLIGHT );
465
465
}
466
466
467
- if (Context -> Style & TN_STYLE_CUSTOM_HEADERDRAW )
467
+ // TODO: HeaderCustomDraw doens't support classic theme on Windows 7 (dmex)
468
+ if (Context -> Style & TN_STYLE_CUSTOM_HEADERDRAW && WindowsVersion > WINDOWS_7 )
468
469
Context -> HeaderCustomDraw = TRUE;
469
470
470
471
if (!(Context -> FixedHeaderHandle = CreateWindow (
@@ -5450,7 +5451,9 @@ VOID PhTnpPaint(
5450
5451
// InvalidateRect(Context->FixedHeaderHandle, NULL, FALSE);
5451
5452
//}
5452
5453
5453
- // TODO: This invalidates the whole header even when nothing changes.
5454
+ // TODO:
5455
+ // 1) PhTickProcessNodes excludes the header when invalidating the treelist.
5456
+ // 2) This invalidates the whole header even when nothing changes.
5454
5457
// We can add a callback similar to TreeNewGetHeaderText that returns TRUE
5455
5458
// for headers that have custom text and need invalidating? (dmex)
5456
5459
You can’t perform that action at this time.
0 commit comments