mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-04-11 17:37:22 +10:00
@@ -3106,6 +3106,9 @@ static void InitStartMenuDLL( void )
|
|||||||
taskBar.chevron=FindWindowEx(tray,NULL,L"Button",NULL);
|
taskBar.chevron=FindWindowEx(tray,NULL,L"Button",NULL);
|
||||||
if (taskBar.chevron)
|
if (taskBar.chevron)
|
||||||
SetWindowSubclass(taskBar.chevron,SubclassTrayChevronProc,'CLSH',taskBar.taskbarId);
|
SetWindowSubclass(taskBar.chevron,SubclassTrayChevronProc,'CLSH',taskBar.taskbarId);
|
||||||
|
taskBar.news=FindWindowEx(g_TaskBar,NULL,L"DynamicContent2",NULL);
|
||||||
|
if (taskBar.news)
|
||||||
|
SetWindowSubclass(taskBar.news,SubclassTrayChevronProc,'CLSH',taskBar.taskbarId);
|
||||||
}
|
}
|
||||||
|
|
||||||
HandleTaskbarParts(taskBar,true);
|
HandleTaskbarParts(taskBar,true);
|
||||||
@@ -3295,6 +3298,8 @@ if (!g_bTrimHooks)
|
|||||||
}
|
}
|
||||||
if (it->second.chevron)
|
if (it->second.chevron)
|
||||||
RemoveWindowSubclass(it->second.chevron,SubclassTrayChevronProc,'CLSH');
|
RemoveWindowSubclass(it->second.chevron,SubclassTrayChevronProc,'CLSH');
|
||||||
|
if (it->second.news)
|
||||||
|
RemoveWindowSubclass(it->second.news,SubclassTrayChevronProc,'CLSH');
|
||||||
if (it->second.desktop)
|
if (it->second.desktop)
|
||||||
RemoveWindowSubclass(it->second.desktop,SubclassDesktopButtonProc,'CLSH');
|
RemoveWindowSubclass(it->second.desktop,SubclassDesktopButtonProc,'CLSH');
|
||||||
if (it->second.bTimer)
|
if (it->second.bTimer)
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ void EnableStartTooltip( bool bEnable );
|
|||||||
|
|
||||||
struct TaskbarInfo
|
struct TaskbarInfo
|
||||||
{
|
{
|
||||||
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; }
|
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; }
|
||||||
int taskbarId;
|
int taskbarId;
|
||||||
HWND taskBar;
|
HWND taskBar;
|
||||||
HWND startButton; // either own start button or the win7 start button (depending on bReplaceButton)
|
HWND startButton; // either own start button or the win7 start button (depending on bReplaceButton)
|
||||||
@@ -55,6 +55,7 @@ struct TaskbarInfo
|
|||||||
HWND rebar;
|
HWND rebar;
|
||||||
HWND taskList;
|
HWND taskList;
|
||||||
HWND chevron;
|
HWND chevron;
|
||||||
|
HWND news;
|
||||||
HWND desktop;
|
HWND desktop;
|
||||||
SIZE startButtonSize;
|
SIZE startButtonSize;
|
||||||
SIZE oldButtonSize;
|
SIZE oldButtonSize;
|
||||||
|
|||||||
Reference in New Issue
Block a user