[EXPLORER][SHELL32] Strengthen Start Menu Customize Part 1 (#6544)

Strengthen customization of Start menu.
JIRA issue: CORE-16956
- Modify IDD_CLASSICSTART_CUSTOMIZE dialog.
- Add some resource strings to shell32.dll.
- Add some helper functions.
- Disable Clear button if necessary.
- Add "Display Favorites" and "Display Log Off"
  items into IDC_CLASSICSTART_SETTINGS treeview
  control.
- Implement two items' action.
- Recreate the start menu if WM_SETTINGCHANGE
  message received.
This commit is contained in:
Katayama Hirofumi MZ 2024-02-27 20:41:43 +09:00 committed by GitHub
parent 281f7c4e38
commit d1ac33a9bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
76 changed files with 338 additions and 97 deletions

View file

@ -2658,6 +2658,15 @@ ChangePos:
CheckTrayWndPosition();
}
if (m_StartMenuPopup && lstrcmpiW((LPCWSTR)lParam, L"TraySettings") == 0)
{
/* Re-create the start menu */
HideStartMenu();
m_StartMenuBand.Release();
HBITMAP hbmBanner = LoadBitmapW(hExplorerInstance, MAKEINTRESOURCEW(IDB_STARTMENU));
m_StartMenuPopup = CreateStartMenu(this, &m_StartMenuBand, hbmBanner, FALSE);
}
return 0;
}