[ACCESS] Reposition the "ToggleKeys" group box control (#1541)
[reactos.git] / dll / cpl / access / keyboard.c
index c63711e..a796242 100644 (file)
@@ -3,13 +3,12 @@
  * LICENSE:         GPL - See COPYING in the top level directory
  * FILE:            dll/cpl/access/keyboard.c
  * PURPOSE:         Keyboard-related accessibility settings
- * COPYRIGHT:       Copyright 2004 Johannes Anderwald (j_anderw@sbox.tugraz.at)
+ * COPYRIGHT:       Copyright 2004 Johannes Anderwald (johannes.anderwald@reactos.org)
  *                  Copyright 2007 Eric Kohl
  */
 
 #include "access.h"
 
-
 #define BOUNCETICKS 5
 static UINT nBounceArray[BOUNCETICKS] = {500, 700, 1000, 1500, 2000};
 
@@ -468,7 +467,7 @@ FilterKeysDlgProc(HWND hwndDlg,
                     DialogBoxParam(hApplet,
                                    MAKEINTRESOURCE(IDD_BOUNCEKEYSOPTIONS),
                                    hwndDlg,
-                                   (DLGPROC)BounceKeysDlgProc,
+                                   BounceKeysDlgProc,
                                    (LPARAM)pGlobalData);
                     break;
 
@@ -493,7 +492,7 @@ FilterKeysDlgProc(HWND hwndDlg,
                     DialogBoxParam(hApplet,
                                    MAKEINTRESOURCE(IDD_REPEATKEYSOPTIONS),
                                    hwndDlg,
-                                   (DLGPROC)RepeatKeysDlgProc,
+                                   RepeatKeysDlgProc,
                                    (LPARAM)pGlobalData);
                     break;
 
@@ -622,7 +621,7 @@ KeyboardPageProc(HWND hwndDlg,
                     if (DialogBoxParam(hApplet,
                                        MAKEINTRESOURCE(IDD_STICKYKEYSOPTIONS),
                                        hwndDlg,
-                                       (DLGPROC)StickyKeysDlgProc,
+                                       StickyKeysDlgProc,
                                        (LPARAM)pGlobalData))
                         PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
                     break;
@@ -636,7 +635,7 @@ KeyboardPageProc(HWND hwndDlg,
                     if (DialogBoxParam(hApplet,
                                        MAKEINTRESOURCE(IDD_FILTERKEYSOPTIONS),
                                        hwndDlg,
-                                       (DLGPROC)FilterKeysDlgProc,
+                                       FilterKeysDlgProc,
                                        (LPARAM)pGlobalData))
                         PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
                     break;
@@ -650,7 +649,7 @@ KeyboardPageProc(HWND hwndDlg,
                     if (DialogBoxParam(hApplet,
                                        MAKEINTRESOURCE(IDD_TOGGLEKEYSOPTIONS),
                                        hwndDlg,
-                                       (DLGPROC)ToggleKeysDlgProc,
+                                       ToggleKeysDlgProc,
                                        (LPARAM)pGlobalData))
                         PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
                     break;