summaryrefslogtreecommitdiff
path: root/plugins/KeyboardNotify/src
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2012-08-18 11:52:52 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2012-08-18 11:52:52 +0000
commitb267153a704955a17214ea1c630d603b790aa5d2 (patch)
tree7ba15a40b65bf14c5f9a5e0913e0ccee95de971b /plugins/KeyboardNotify/src
parentbe03e10e59cc5b6fc17cc50adf1b367c7bb8f56b (diff)
Minor fixes for the apply button behaviour
git-svn-id: http://svn.miranda-ng.org/main/trunk@1497 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/KeyboardNotify/src')
-rw-r--r--plugins/KeyboardNotify/src/options.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/plugins/KeyboardNotify/src/options.cpp b/plugins/KeyboardNotify/src/options.cpp
index 6da29bd54d..60c9f89ab3 100644
--- a/plugins/KeyboardNotify/src/options.cpp
+++ b/plugins/KeyboardNotify/src/options.cpp
@@ -449,7 +449,6 @@ INT_PTR CALLBACK DlgProcBasicOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
case IDC_IFOLDER:
case IDC_UNTILBLK:
case IDC_UNTILATTENDED:
- case IDC_MIRORWIN:
case IDC_UNTILOPEN:
case IDC_UNTILCOND:
case IDC_FSCREEN:
@@ -505,6 +504,10 @@ INT_PTR CALLBACK DlgProcBasicOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
if(HIWORD(wParam) == EN_CHANGE && !initDlg)
SendMessage(GetParent(GetParent(hwndDlg)), PSM_CHANGED, 0, 0);
return TRUE;
+ case IDC_MIRORWIN:
+ if(HIWORD(wParam) == CBN_SELCHANGE)
+ SendMessage(GetParent(GetParent(hwndDlg)), PSM_CHANGED, 0, 0);
+ return TRUE;
}
break;
@@ -672,10 +675,8 @@ INT_PTR CALLBACK DlgProcEffectOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPA
case IDC_SAMETIME:
case IDC_INTURN:
case IDC_INSEQUENCE:
- case IDC_SEQORDER:
case IDC_CUSTOM:
case IDC_TRILLIAN:
- case IDC_SCUSTOM:
case IDC_SPEED:
case IDC_KEYPRESSES:
EnableWindow(GetDlgItem(hwndDlg, IDC_SEQORDER), IsDlgButtonChecked(hwndDlg, IDC_INSEQUENCE) == BST_CHECKED);
@@ -694,6 +695,11 @@ INT_PTR CALLBACK DlgProcEffectOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPA
case IDC_PREVIEW:
previewFlashing(IsDlgButtonChecked(hwndDlg, IDC_PREVIEW) == BST_CHECKED);
return TRUE;
+ case IDC_SEQORDER:
+ case IDC_SCUSTOM:
+ if(HIWORD(wParam) == CBN_SELCHANGE)
+ SendMessage(GetParent(GetParent(hwndDlg)), PSM_CHANGED, 0, 0);
+ return TRUE;
}
break;