File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -3106,6 +3106,9 @@ static void InitStartMenuDLL( void )
3106
3106
taskBar.chevron =FindWindowEx (tray,NULL ,L" Button" ,NULL );
3107
3107
if (taskBar.chevron )
3108
3108
SetWindowSubclass (taskBar.chevron ,SubclassTrayChevronProc,' CLSH' ,taskBar.taskbarId );
3109
+ taskBar.news =FindWindowEx (g_TaskBar,NULL ,L" DynamicContent2" ,NULL );
3110
+ if (taskBar.news )
3111
+ SetWindowSubclass (taskBar.news ,SubclassTrayChevronProc,' CLSH' ,taskBar.taskbarId );
3109
3112
}
3110
3113
3111
3114
HandleTaskbarParts (taskBar,true );
@@ -3295,6 +3298,8 @@ if (!g_bTrimHooks)
3295
3298
}
3296
3299
if (it->second .chevron )
3297
3300
RemoveWindowSubclass (it->second .chevron ,SubclassTrayChevronProc,' CLSH' );
3301
+ if (it->second .news )
3302
+ RemoveWindowSubclass (it->second .news ,SubclassTrayChevronProc,' CLSH' );
3298
3303
if (it->second .desktop )
3299
3304
RemoveWindowSubclass (it->second .desktop ,SubclassDesktopButtonProc,' CLSH' );
3300
3305
if (it->second .bTimer )
Original file line number Diff line number Diff line change @@ -47,14 +47,15 @@ void EnableStartTooltip( bool bEnable );
47
47
48
48
struct TaskbarInfo
49
49
{
50
- TaskbarInfo ( void ) { taskbarId=pointerId=0 ; taskBar=startButton=oldButton=rebar=taskList=chevron=desktop=NULL ; startButtonSize.cx =startButtonSize.cy =0 ; oldButtonSize.cx =oldButtonSize.cy =0 ; bTimer=bCustomLook=bReplaceButton=bHideButton=bRecreatingButton=bThemeChanging=false ; }
50
+ TaskbarInfo ( void ) { taskbarId=pointerId=0 ; taskBar=startButton=oldButton=rebar=taskList=chevron=news= desktop=NULL ; startButtonSize.cx =startButtonSize.cy =0 ; oldButtonSize.cx =oldButtonSize.cy =0 ; bTimer=bCustomLook=bReplaceButton=bHideButton=bRecreatingButton=bThemeChanging=false ; }
51
51
int taskbarId;
52
52
HWND taskBar;
53
53
HWND startButton; // either own start button or the win7 start button (depending on bReplaceButton)
54
54
HWND oldButton; // win8.1+ start button (child of taskBar)
55
55
HWND rebar;
56
56
HWND taskList;
57
57
HWND chevron;
58
+ HWND news;
58
59
HWND desktop;
59
60
SIZE startButtonSize;
60
61
SIZE oldButtonSize;
You can’t perform that action at this time.
0 commit comments