mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[EXPLORER] Make the 'Remove' button in classic start menu properties spawn the remove dialog. Patch by Jared Smudde. CORE-12076 #resolve #comment Thanks!
svn path=/trunk/; revision=72877
This commit is contained in:
parent
3a5e3ae774
commit
51a51d3174
1 changed files with 9 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
|||
|
||||
#include "precomp.h"
|
||||
|
||||
// TODO: Windows Explorer appears to be calling NewLinkHere / ConfigStartMenu directly for both items.
|
||||
VOID OnAddStartMenuItems(HWND hDlg)
|
||||
{
|
||||
WCHAR szPath[MAX_PATH];
|
||||
|
@ -33,6 +34,11 @@ VOID OnAddStartMenuItems(HWND hDlg)
|
|||
}
|
||||
}
|
||||
|
||||
VOID OnRemoveStartmenuItems(HWND hDlg)
|
||||
{
|
||||
ShellExecuteW(hDlg, L"open", L"rundll32.exe", L"appwiz.cpl,ConfigStartMenu", NULL, SW_SHOWNORMAL);
|
||||
}
|
||||
|
||||
VOID OnAdvancedStartMenuItems()
|
||||
{
|
||||
WCHAR szPath[MAX_PATH];
|
||||
|
@ -77,6 +83,9 @@ INT_PTR CALLBACK CustomizeClassicProc(HWND hwnd, UINT Message, WPARAM wParam, LP
|
|||
case IDC_CLASSICSTART_ADD:
|
||||
OnAddStartMenuItems(hwnd);
|
||||
break;
|
||||
case IDC_CLASSICSTART_REMOVE:
|
||||
OnRemoveStartmenuItems(hwnd);
|
||||
break;
|
||||
case IDC_CLASSICSTART_ADVANCED:
|
||||
OnAdvancedStartMenuItems();
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue