From 898cc5663d5ede3d6d595e7819cd2b14db18970a Mon Sep 17 00:00:00 2001 From: Thamatip Chitpong Date: Fri, 1 Nov 2024 01:09:22 +0700 Subject: [PATCH] [EXPLORER] Add tooltip for show desktop button (#7483) CORE-15369 --- base/shell/explorer/lang/bg-BG.rc | 1 + base/shell/explorer/lang/cs-CZ.rc | 1 + base/shell/explorer/lang/de-DE.rc | 1 + base/shell/explorer/lang/en-US.rc | 1 + base/shell/explorer/lang/es-ES.rc | 1 + base/shell/explorer/lang/et-EE.rc | 1 + base/shell/explorer/lang/eu-ES.rc | 1 + base/shell/explorer/lang/fi-FI.rc | 1 + base/shell/explorer/lang/fr-FR.rc | 1 + base/shell/explorer/lang/he-IL.rc | 1 + base/shell/explorer/lang/hi-IN.rc | 1 + base/shell/explorer/lang/hu-HU.rc | 1 + base/shell/explorer/lang/id-ID.rc | 1 + base/shell/explorer/lang/it-IT.rc | 1 + base/shell/explorer/lang/ja-JP.rc | 1 + base/shell/explorer/lang/ko-KR.rc | 1 + base/shell/explorer/lang/lt-LT.rc | 1 + base/shell/explorer/lang/ms-MY.rc | 1 + base/shell/explorer/lang/nl-NL.rc | 1 + base/shell/explorer/lang/no-NO.rc | 1 + base/shell/explorer/lang/pl-PL.rc | 1 + base/shell/explorer/lang/pt-BR.rc | 1 + base/shell/explorer/lang/pt-PT.rc | 1 + base/shell/explorer/lang/ro-RO.rc | 1 + base/shell/explorer/lang/ru-RU.rc | 1 + base/shell/explorer/lang/sk-SK.rc | 1 + base/shell/explorer/lang/sq-AL.rc | 1 + base/shell/explorer/lang/tr-TR.rc | 1 + base/shell/explorer/lang/uk-UA.rc | 1 + base/shell/explorer/lang/zh-CN.rc | 1 + base/shell/explorer/lang/zh-HK.rc | 1 + base/shell/explorer/lang/zh-TW.rc | 1 + base/shell/explorer/resource.h | 1 + base/shell/explorer/traydeskbtn.cpp | 13 +++++++++++++ base/shell/explorer/traydeskbtn.h | 1 + 35 files changed, 47 insertions(+) diff --git a/base/shell/explorer/lang/bg-BG.rc b/base/shell/explorer/lang/bg-BG.rc index 65585857c28..362a5ec523c 100644 --- a/base/shell/explorer/lang/bg-BG.rc +++ b/base/shell/explorer/lang/bg-BG.rc @@ -216,4 +216,5 @@ BEGIN IDS_RESTORE_ALL "&Покажи отворените прозорци" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/cs-CZ.rc b/base/shell/explorer/lang/cs-CZ.rc index 96dacb3e5b2..4c42eb1e82e 100644 --- a/base/shell/explorer/lang/cs-CZ.rc +++ b/base/shell/explorer/lang/cs-CZ.rc @@ -216,4 +216,5 @@ BEGIN IDS_RESTORE_ALL "&Show Open Windows" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/de-DE.rc b/base/shell/explorer/lang/de-DE.rc index 719833d6f19..644d4e9c680 100644 --- a/base/shell/explorer/lang/de-DE.rc +++ b/base/shell/explorer/lang/de-DE.rc @@ -219,4 +219,5 @@ BEGIN IDS_RESTORE_ALL "&Show Open Windows" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/en-US.rc b/base/shell/explorer/lang/en-US.rc index 537d46dc5df..fb0d1968ec4 100644 --- a/base/shell/explorer/lang/en-US.rc +++ b/base/shell/explorer/lang/en-US.rc @@ -215,4 +215,5 @@ BEGIN IDS_RESTORE_ALL "&Show Open Windows" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/es-ES.rc b/base/shell/explorer/lang/es-ES.rc index 60a86cb2d29..bfa0fef9c2a 100644 --- a/base/shell/explorer/lang/es-ES.rc +++ b/base/shell/explorer/lang/es-ES.rc @@ -219,4 +219,5 @@ BEGIN IDS_RESTORE_ALL "&Mostrar ventanas abiertas" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/et-EE.rc b/base/shell/explorer/lang/et-EE.rc index edac53dee40..a38cf6b6160 100644 --- a/base/shell/explorer/lang/et-EE.rc +++ b/base/shell/explorer/lang/et-EE.rc @@ -215,4 +215,5 @@ BEGIN IDS_RESTORE_ALL "&Show Open Windows" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/eu-ES.rc b/base/shell/explorer/lang/eu-ES.rc index 1edc42304f1..da9a5ce7126 100644 --- a/base/shell/explorer/lang/eu-ES.rc +++ b/base/shell/explorer/lang/eu-ES.rc @@ -215,4 +215,5 @@ BEGIN IDS_RESTORE_ALL "E&rakutsi irekitako leihoak" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/fi-FI.rc b/base/shell/explorer/lang/fi-FI.rc index 007d5a9139e..c174b17daaa 100644 --- a/base/shell/explorer/lang/fi-FI.rc +++ b/base/shell/explorer/lang/fi-FI.rc @@ -215,4 +215,5 @@ BEGIN IDS_RESTORE_ALL "&Show Open Windows" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/fr-FR.rc b/base/shell/explorer/lang/fr-FR.rc index bc8250201c3..4a752edef8d 100644 --- a/base/shell/explorer/lang/fr-FR.rc +++ b/base/shell/explorer/lang/fr-FR.rc @@ -216,4 +216,5 @@ BEGIN IDS_RESTORE_ALL "&Afficher les fenêtres ouvertes" IDS_TRAYWND_UNDO_CASCADE "Ann&uler cascade" IDS_TRAYWND_UNDO_TILE "Ann&uler mosaïque" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/he-IL.rc b/base/shell/explorer/lang/he-IL.rc index 7dcdaff4449..5031167a438 100644 --- a/base/shell/explorer/lang/he-IL.rc +++ b/base/shell/explorer/lang/he-IL.rc @@ -215,4 +215,5 @@ BEGIN IDS_RESTORE_ALL "&Show Open Windows" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/hi-IN.rc b/base/shell/explorer/lang/hi-IN.rc index 31f36698e65..6fccc2a320d 100644 --- a/base/shell/explorer/lang/hi-IN.rc +++ b/base/shell/explorer/lang/hi-IN.rc @@ -215,4 +215,5 @@ BEGIN IDS_RESTORE_ALL "खुले हुऐ विंडोज &दिखाएं" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/hu-HU.rc b/base/shell/explorer/lang/hu-HU.rc index 4e167f3160b..87bcce514ca 100644 --- a/base/shell/explorer/lang/hu-HU.rc +++ b/base/shell/explorer/lang/hu-HU.rc @@ -215,4 +215,5 @@ BEGIN IDS_RESTORE_ALL "&Megnyitott ablakok megjelenítése" IDS_TRAYWND_UNDO_CASCADE "Lépcsőzetes elre&ndezés visszavonása" IDS_TRAYWND_UNDO_TILE "Mozaik elre&ndezés visszavonása" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/id-ID.rc b/base/shell/explorer/lang/id-ID.rc index 10fd87f2493..468daf9a291 100644 --- a/base/shell/explorer/lang/id-ID.rc +++ b/base/shell/explorer/lang/id-ID.rc @@ -216,4 +216,5 @@ BEGIN IDS_RESTORE_ALL "&Tampilkan Semua Jendela" IDS_TRAYWND_UNDO_CASCADE "&Urungkan Tumpukan" IDS_TRAYWND_UNDO_TILE "U&rungkan Ubin" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/it-IT.rc b/base/shell/explorer/lang/it-IT.rc index 4f584bc7613..26d55d51693 100644 --- a/base/shell/explorer/lang/it-IT.rc +++ b/base/shell/explorer/lang/it-IT.rc @@ -216,4 +216,5 @@ BEGIN IDS_RESTORE_ALL "&Show Open Windows" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/ja-JP.rc b/base/shell/explorer/lang/ja-JP.rc index 33f92fd6784..30d173b2556 100644 --- a/base/shell/explorer/lang/ja-JP.rc +++ b/base/shell/explorer/lang/ja-JP.rc @@ -217,4 +217,5 @@ BEGIN IDS_RESTORE_ALL "開いているウィンドウを表示(&S)" IDS_TRAYWND_UNDO_CASCADE "「重ねて表示」を元に戻す(&U)" IDS_TRAYWND_UNDO_TILE "「ウィンドウを並べて表示」を元に戻す(&U)" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/ko-KR.rc b/base/shell/explorer/lang/ko-KR.rc index e8603060ba8..0feac642730 100644 --- a/base/shell/explorer/lang/ko-KR.rc +++ b/base/shell/explorer/lang/ko-KR.rc @@ -216,4 +216,5 @@ BEGIN IDS_RESTORE_ALL "열린 창 보기(&S)" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/lt-LT.rc b/base/shell/explorer/lang/lt-LT.rc index 5627b7f0267..1471474371a 100644 --- a/base/shell/explorer/lang/lt-LT.rc +++ b/base/shell/explorer/lang/lt-LT.rc @@ -215,4 +215,5 @@ BEGIN IDS_RESTORE_ALL "&Show Open Windows" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/ms-MY.rc b/base/shell/explorer/lang/ms-MY.rc index 31ea4cb6d1b..0d2f9323713 100644 --- a/base/shell/explorer/lang/ms-MY.rc +++ b/base/shell/explorer/lang/ms-MY.rc @@ -215,4 +215,5 @@ BEGIN IDS_RESTORE_ALL "&Show Open Windows" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/nl-NL.rc b/base/shell/explorer/lang/nl-NL.rc index 702d2ab2bf8..3dda01b0016 100644 --- a/base/shell/explorer/lang/nl-NL.rc +++ b/base/shell/explorer/lang/nl-NL.rc @@ -216,4 +216,5 @@ BEGIN IDS_RESTORE_ALL "&Show Open Windows" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/no-NO.rc b/base/shell/explorer/lang/no-NO.rc index 351d7942af0..e88e1967550 100644 --- a/base/shell/explorer/lang/no-NO.rc +++ b/base/shell/explorer/lang/no-NO.rc @@ -215,4 +215,5 @@ BEGIN IDS_RESTORE_ALL "&Show Open Windows" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/pl-PL.rc b/base/shell/explorer/lang/pl-PL.rc index 6c2acc52b9b..270484ec0e8 100644 --- a/base/shell/explorer/lang/pl-PL.rc +++ b/base/shell/explorer/lang/pl-PL.rc @@ -218,4 +218,5 @@ BEGIN IDS_RESTORE_ALL "&Pokaż otwarte okna" IDS_TRAYWND_UNDO_CASCADE "&Cofnij kaskadowe ułożenie okien" IDS_TRAYWND_UNDO_TILE "&Cofnij sąsiadujące ułożenie okien" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/pt-BR.rc b/base/shell/explorer/lang/pt-BR.rc index c2df38de08b..1e030708acb 100644 --- a/base/shell/explorer/lang/pt-BR.rc +++ b/base/shell/explorer/lang/pt-BR.rc @@ -216,4 +216,5 @@ BEGIN IDS_RESTORE_ALL "&Show Open Windows" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/pt-PT.rc b/base/shell/explorer/lang/pt-PT.rc index 39c9868b253..31ab1da2a4f 100644 --- a/base/shell/explorer/lang/pt-PT.rc +++ b/base/shell/explorer/lang/pt-PT.rc @@ -217,4 +217,5 @@ BEGIN IDS_RESTORE_ALL "&Mostrar janelas abertas" IDS_TRAYWND_UNDO_CASCADE "Desfazer &cascata" IDS_TRAYWND_UNDO_TILE "Desfazer &lado a lado" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/ro-RO.rc b/base/shell/explorer/lang/ro-RO.rc index 05070c0058a..36c2eda6b9f 100644 --- a/base/shell/explorer/lang/ro-RO.rc +++ b/base/shell/explorer/lang/ro-RO.rc @@ -216,4 +216,5 @@ BEGIN IDS_RESTORE_ALL "&Afișare ferestre deschise" IDS_TRAYWND_UNDO_CASCADE "Anulare cascadă" IDS_TRAYWND_UNDO_TILE "An&ulare aranjare" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/ru-RU.rc b/base/shell/explorer/lang/ru-RU.rc index d86f3477ef5..601e5a4ba14 100644 --- a/base/shell/explorer/lang/ru-RU.rc +++ b/base/shell/explorer/lang/ru-RU.rc @@ -219,4 +219,5 @@ BEGIN IDS_RESTORE_ALL "&Показать окна" IDS_TRAYWND_UNDO_CASCADE "&Отменить Каскадом" IDS_TRAYWND_UNDO_TILE "&Отменить Окна рядом" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/sk-SK.rc b/base/shell/explorer/lang/sk-SK.rc index 7f42ea11589..d314cda1792 100644 --- a/base/shell/explorer/lang/sk-SK.rc +++ b/base/shell/explorer/lang/sk-SK.rc @@ -215,4 +215,5 @@ BEGIN IDS_RESTORE_ALL "&Show Open Windows" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/sq-AL.rc b/base/shell/explorer/lang/sq-AL.rc index 97634842e87..678e48ebdd7 100644 --- a/base/shell/explorer/lang/sq-AL.rc +++ b/base/shell/explorer/lang/sq-AL.rc @@ -215,4 +215,5 @@ BEGIN IDS_RESTORE_ALL "&Show Open Windows" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/tr-TR.rc b/base/shell/explorer/lang/tr-TR.rc index 1fb336b1118..f67bccb27b3 100644 --- a/base/shell/explorer/lang/tr-TR.rc +++ b/base/shell/explorer/lang/tr-TR.rc @@ -217,4 +217,5 @@ BEGIN IDS_RESTORE_ALL "&Açık Pencereleri Göster" IDS_TRAYWND_UNDO_CASCADE "&Kademeyi Geri Al" IDS_TRAYWND_UNDO_TILE "&Döşemeyi Geri Al" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/uk-UA.rc b/base/shell/explorer/lang/uk-UA.rc index 413fa063db6..b007a200ef6 100644 --- a/base/shell/explorer/lang/uk-UA.rc +++ b/base/shell/explorer/lang/uk-UA.rc @@ -219,4 +219,5 @@ BEGIN IDS_RESTORE_ALL "&Показати відкриті вікна" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/zh-CN.rc b/base/shell/explorer/lang/zh-CN.rc index 3d583aeef99..5de7294948d 100644 --- a/base/shell/explorer/lang/zh-CN.rc +++ b/base/shell/explorer/lang/zh-CN.rc @@ -217,4 +217,5 @@ BEGIN IDS_RESTORE_ALL "显示打开的窗口(&S)" IDS_TRAYWND_UNDO_CASCADE "撤销层叠(&U)" IDS_TRAYWND_UNDO_TILE "撤销平铺(&U)" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/zh-HK.rc b/base/shell/explorer/lang/zh-HK.rc index faec29523d8..67f404d3458 100644 --- a/base/shell/explorer/lang/zh-HK.rc +++ b/base/shell/explorer/lang/zh-HK.rc @@ -216,4 +216,5 @@ BEGIN IDS_RESTORE_ALL "顯示開啟的視窗(&S)" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/lang/zh-TW.rc b/base/shell/explorer/lang/zh-TW.rc index 5e100da0257..973ab75aaac 100644 --- a/base/shell/explorer/lang/zh-TW.rc +++ b/base/shell/explorer/lang/zh-TW.rc @@ -217,4 +217,5 @@ BEGIN IDS_RESTORE_ALL "顯示開啟的視窗(&S)" IDS_TRAYWND_UNDO_CASCADE "&Undo Cascade" IDS_TRAYWND_UNDO_TILE "&Undo Tile" + IDS_TRAYDESKBTN_TOOLTIP "Show Desktop/Windows" END diff --git a/base/shell/explorer/resource.h b/base/shell/explorer/resource.h index cd4400a9334..72b3456270b 100644 --- a/base/shell/explorer/resource.h +++ b/base/shell/explorer/resource.h @@ -105,6 +105,7 @@ #define IDS_RESTORE_ALL 811 #define IDS_TRAYWND_UNDO_CASCADE 812 #define IDS_TRAYWND_UNDO_TILE 813 +#define IDS_TRAYDESKBTN_TOOLTIP 814 /* These values must be synchronized with shell32 */ #define IDS_ADVANCED_DISPLAY_FAVORITES 30466 diff --git a/base/shell/explorer/traydeskbtn.cpp b/base/shell/explorer/traydeskbtn.cpp index bb448f2495d..009f79c892e 100644 --- a/base/shell/explorer/traydeskbtn.cpp +++ b/base/shell/explorer/traydeskbtn.cpp @@ -76,6 +76,19 @@ HRESULT CTrayShowDesktopButton::DoCreate(HWND hwndParent) m_szIcon.cx = GetSystemMetrics(SM_CXSMICON); m_szIcon.cy = GetSystemMetrics(SM_CYSMICON); + // Create tooltip + m_tooltip.Create(m_hWnd, WS_POPUP | TTS_NOPREFIX | TTS_ALWAYSTIP); + + TOOLINFOW ti = { 0 }; + ti.cbSize = TTTOOLINFOW_V1_SIZE; + ti.uFlags = TTF_IDISHWND | TTF_SUBCLASS; + ti.hwnd = m_hWnd; + ti.uId = reinterpret_cast(m_hWnd); + ti.hinst = hExplorerInstance; + ti.lpszText = MAKEINTRESOURCEW(IDS_TRAYDESKBTN_TOOLTIP); + + m_tooltip.AddTool(&ti); + // Prep visual style EnsureWindowTheme(TRUE); diff --git a/base/shell/explorer/traydeskbtn.h b/base/shell/explorer/traydeskbtn.h index 5e59ecfa1a6..f779aa11dfa 100644 --- a/base/shell/explorer/traydeskbtn.h +++ b/base/shell/explorer/traydeskbtn.h @@ -28,6 +28,7 @@ class CTrayShowDesktopButton : BOOL m_drawWithDedicatedBackground; BOOL m_bHovering; HWND m_hWndTaskbar; + CTooltips m_tooltip; public: BOOL m_bPressed;