Config has an X button. Functionally works as a cancel (so you aren't forced to save the changes you made.
This commit is contained in:
parent
63d4b51e6c
commit
504c654fb3
|
@ -273,6 +273,11 @@ BOOL CALLBACK ConfigView_Proc(HWND dialog,UINT komunikat,WPARAM wparam,LPARAM lp
|
||||||
//SendDlgItemMessage(dialog,IDC_COMBO13,CB_SETCURSEL,KEY_DEBUG,0);
|
//SendDlgItemMessage(dialog,IDC_COMBO13,CB_SETCURSEL,KEY_DEBUG,0);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case WM_CLOSE:
|
||||||
|
case WM_QUIT:
|
||||||
|
EndDialog(dialog,0);
|
||||||
|
return 1;
|
||||||
|
break;
|
||||||
case WM_COMMAND:
|
case WM_COMMAND:
|
||||||
if((HIWORD(wparam)==BN_CLICKED)&&(((int)LOWORD(wparam))==IDC_BUTTON1))
|
if((HIWORD(wparam)==BN_CLICKED)&&(((int)LOWORD(wparam))==IDC_BUTTON1))
|
||||||
{
|
{
|
||||||
|
|
|
@ -206,10 +206,10 @@ END
|
||||||
// Dialog
|
// Dialog
|
||||||
//
|
//
|
||||||
|
|
||||||
IDD_CONFIG DIALOG 0, 0, 125, 227
|
IDD_CONFIG DIALOGEX 0, 0, 125, 227
|
||||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | WS_POPUP | WS_CAPTION
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Konfigurer Input"
|
CAPTION "Konfigurer Input"
|
||||||
FONT 8, "MS Sans Serif"
|
FONT 8, "MS Sans Serif", 0, 0, 0x0
|
||||||
BEGIN
|
BEGIN
|
||||||
DEFPUSHBUTTON "OK",IDC_FERMER,67,208,50,14
|
DEFPUSHBUTTON "OK",IDC_FERMER,67,208,50,14
|
||||||
PUSHBUTTON "Standard",IDC_BUTTON1,7,208,50,14
|
PUSHBUTTON "Standard",IDC_BUTTON1,7,208,50,14
|
||||||
|
@ -741,10 +741,10 @@ END
|
||||||
// Dialog
|
// Dialog
|
||||||
//
|
//
|
||||||
|
|
||||||
IDD_CONFIG DIALOG 0, 0, 125, 227
|
IDD_CONFIG DIALOGEX 0, 0, 125, 227
|
||||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | WS_POPUP | WS_CAPTION
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Configure Keys"
|
CAPTION "Configure Keys"
|
||||||
FONT 8, "MS Sans Serif"
|
FONT 8, "MS Sans Serif", 0, 0, 0x0
|
||||||
BEGIN
|
BEGIN
|
||||||
DEFPUSHBUTTON "OK",IDC_FERMER,67,208,50,14
|
DEFPUSHBUTTON "OK",IDC_FERMER,67,208,50,14
|
||||||
PUSHBUTTON "Default",IDC_BUTTON1,7,208,50,14
|
PUSHBUTTON "Default",IDC_BUTTON1,7,208,50,14
|
||||||
|
|
Loading…
Reference in New Issue