@@ -6103,7 +6103,7 @@ VOID PhTnpInitializeTooltips(
6103
6103
6104
6104
if (Context -> HeaderCustomDraw )
6105
6105
{
6106
- Context -> HeaderHotColumn = ULONG_MAX ;
6106
+ Context -> HeaderHotColumn = -1 ;
6107
6107
Context -> HeaderThemeHandle = OpenThemeData (Context -> HeaderHandle , VSCLASS_HEADER );
6108
6108
}
6109
6109
@@ -6558,7 +6558,7 @@ LRESULT CALLBACK PhTnpHeaderHookWndProc(
6558
6558
6559
6559
if (GetObject (fontHandle , sizeof (LOGFONT ), & logFont ))
6560
6560
{
6561
- logFont .lfHeight -= PhMultiplyDivideSigned (3 , PhGlobalDpi , 96 );
6561
+ logFont .lfHeight -= PhMultiplyDivideSigned (2 , PhGlobalDpi , 96 );
6562
6562
context -> HeaderBoldFontHandle = CreateFontIndirect (& logFont );
6563
6563
//context->HeaderBoldFontHandle = PhDuplicateFontWithNewHeight(fontHandle, -14);
6564
6564
}
@@ -6699,7 +6699,7 @@ LRESULT CALLBACK PhTnpHeaderHookWndProc(
6699
6699
6700
6700
result = CallWindowProc (oldWndProc , hwnd , uMsg , wParam , lParam );
6701
6701
context -> HeaderMouseActive = FALSE;
6702
- context -> HeaderHotColumn = ULONG_MAX ;
6702
+ context -> HeaderHotColumn = -1 ;
6703
6703
6704
6704
if (GetCapture () != hwnd )
6705
6705
{
@@ -6782,7 +6782,7 @@ LRESULT CALLBACK PhTnpHeaderHookWndProc(
6782
6782
if (!(column = (PPH_TREENEW_COLUMN )headerItem .lParam ))
6783
6783
continue ;
6784
6784
6785
- if (context -> HeaderHotColumn != ULONG_MAX && context -> HeaderHotColumn == column -> Id )
6785
+ if (context -> HeaderHotColumn != -1 && context -> HeaderHotColumn == column -> Id )
6786
6786
{
6787
6787
if (context -> ThemeSupport )
6788
6788
{
0 commit comments