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