diff options
author | George Hazan <ghazan@miranda.im> | 2016-11-27 22:57:03 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-11-27 22:57:03 +0300 |
commit | d5f5b695cb8311e7dbfcc0526777b2ce640782e2 (patch) | |
tree | 0534d6c1ad11e57d7d000987a9b120d7d58c9fd2 | |
parent | 0ebb1294ecaf4d62ad6b3e911be6275248c05354 (diff) |
magic control id returned (fixes #636)
-rw-r--r-- | src/core/stdmsg/src/msgdialog.cpp | 2 | ||||
-rw-r--r-- | src/core/stdmsg/src/resource.h | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index 879a294db4..f119a3435a 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -178,7 +178,7 @@ static void SetDialogToType(HWND hwndDlg) ShowMultipleControls(hwndDlg, infoLineControls, _countof(infoLineControls), SW_HIDE);
if (dat->hContact) {
- ShowMultipleControls(hwndDlg, buttonLineControls, _countof(buttonLineControls), (g_dat.flags&SMF_SHOWBTNS) ? SW_SHOW : SW_HIDE);
+ ShowMultipleControls(hwndDlg, buttonLineControls, _countof(buttonLineControls), (g_dat.flags & SMF_SHOWBTNS) ? SW_SHOW : SW_HIDE);
if (!db_get_b(dat->hContact, "CList", "NotOnList", 0))
ShowWindow(GetDlgItem(hwndDlg, IDC_ADD), SW_HIDE);
}
diff --git a/src/core/stdmsg/src/resource.h b/src/core/stdmsg/src/resource.h index 872db1500b..197b67b769 100644 --- a/src/core/stdmsg/src/resource.h +++ b/src/core/stdmsg/src/resource.h @@ -127,12 +127,7 @@ #define IDC_RADIO1 1067
#define IDC_RADIO2 1068
#define IDC_RADIO3 1069
-#define IDC_TEXT 1064
-#define IDC_BKG 1065
-#define IDC_TIMEOUT 1067
-#define IDC_HIGHLIGHT 1068
-#define IDC_TEXTO 1069
-#define IDC_LOGGING 1069
+#define IDC_ADD 1070
#define IDC_LIST 1072
#define IDC_TAB 1074
#define IDC_1 1075
@@ -146,9 +141,14 @@ #define IDC_9 1083
#define IDC_10 1084
#define IDC_11 1085
+#define IDC_TEXT 1086
+#define IDC_BKG 1087
+#define IDC_TIMEOUT 1088
+#define IDC_HIGHLIGHT 1089
+#define IDC_TEXTO 1090
+#define IDC_LOGGING 1091
#define IDC_DETAILS 1469
-#define IDC_ADD 1470
#define IDC_USERMENU 1471
#define IDC_STMSGLOGGROUP 1442
#define IDC_PROTOCOL 1580
|