Fix indentation (TABs --> Spaces).
[reactos.git] / reactos / dll / cpl / input / keysettings.c
1 /*
2 * ReactOS
3 * Copyright (C) 2007 ReactOS Team
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19 /*
20 *
21 * PROJECT: input.dll
22 * FILE: dll/win32/input/keysettings.c
23 * PURPOSE: input.dll
24 * PROGRAMMER: Dmitry Chapyshev (lentind@yandex.ru)
25 * UPDATE HISTORY:
26 * 06-09-2007 Created
27 */
28
29 #include <windows.h>
30 #include <commctrl.h>
31 #include <cpl.h>
32
33 #include <stdlib.h>
34 #include <stdio.h>
35 #include <stdarg.h>
36 #include <tchar.h>
37 #include <process.h>
38
39 #include "resource.h"
40 #include "input.h"
41
42 INT_PTR CALLBACK
43 KeySettingsDlgProc(HWND hDlg,
44 UINT message,
45 WPARAM wParam,
46 LPARAM lParam)
47 {
48 UNREFERENCED_PARAMETER(lParam);
49
50 switch (message)
51 {
52 case WM_INITDIALOG:
53 break;
54
55 case WM_COMMAND:
56 switch (LOWORD(wParam))
57 {
58 case IDC_CHANGE_KEY_SEQ_BUTTON:
59 DialogBox(hApplet,
60 MAKEINTRESOURCE(IDD_CHANGE_KEY_SEQ),
61 hDlg,
62 ChangeKeySeqDlgProc);
63 break;
64
65 case IDOK:
66 break;
67
68 case IDCANCEL:
69 EndDialog(hDlg, LOWORD(wParam));
70 break;
71 }
72 break;
73 }
74
75 return FALSE;
76 }
77
78 /* EOF */