[EXPLORER] Stubplement and show the "customize classic start menu" dialog
[reactos.git] / reactos / base / shell / explorer / startmnucust.cpp
1 /*
2 * ReactOS Explorer
3 *
4 * Copyright 2006 - 2007 Thomas Weidenmueller <w3seek@reactos.org>
5 * 2015 Robert Naumann <gonzomdx@gmail.com|
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22 #include "precomp.h"
23
24 BOOL CALLBACK CustomizeClassicProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
25 {
26 switch(Message)
27 {
28 case WM_INITDIALOG:
29
30 return TRUE;
31 case WM_COMMAND:
32 switch(LOWORD(wParam))
33 {
34 case IDOK:
35 EndDialog(hwnd, IDOK);
36 break;
37 case IDCANCEL:
38 EndDialog(hwnd, IDCANCEL);
39 break;
40 }
41 break;
42 default:
43 return FALSE;
44 }
45 return TRUE;
46 }
47
48 VOID ShowCustomizeClassic(HINSTANCE hInst, HWND hExplorer)
49 {
50 DialogBox(hInst, MAKEINTRESOURCE(IDD_CLASSICSTART_CUSTOMIZE), hExplorer, CustomizeClassicProc);
51 }