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);
|
||||
if (taskBar.chevron)
|
||||
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);
|
||||
@@ -3295,6 +3298,8 @@ if (!g_bTrimHooks)
|
||||
}
|
||||
if (it->second.chevron)
|
||||
RemoveWindowSubclass(it->second.chevron,SubclassTrayChevronProc,'CLSH');
|
||||
if (it->second.news)
|
||||
RemoveWindowSubclass(it->second.news,SubclassTrayChevronProc,'CLSH');
|
||||
if (it->second.desktop)
|
||||
RemoveWindowSubclass(it->second.desktop,SubclassDesktopButtonProc,'CLSH');
|
||||
if (it->second.bTimer)
|
||||
|
||||
@@ -47,7 +47,7 @@ void EnableStartTooltip( bool bEnable );
|
||||
|
||||
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;
|
||||
HWND taskBar;
|
||||
HWND startButton; // either own start button or the win7 start button (depending on bReplaceButton)
|
||||
@@ -55,6 +55,7 @@ struct TaskbarInfo
|
||||
HWND rebar;
|
||||
HWND taskList;
|
||||
HWND chevron;
|
||||
HWND news;
|
||||
HWND desktop;
|
||||
SIZE startButtonSize;
|
||||
SIZE oldButtonSize;
|
||||
|
||||
Reference in New Issue
Block a user