diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-20 18:26:44 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-20 18:26:44 +0300 |
commit | e1affe6fb8d4d67cd22487399fa3be86695beae3 (patch) | |
tree | 2752700098b67588245be4ec17e0690f6680486c /plugins/NotesAndReminders/res | |
parent | c864d378452f70c98347f099fe31ea446136aa5d (diff) |
Notes & reminders:
- useless control id IDC_CLOSE removed & replaced with IDCANCEL;
- useless functions WriteSettingIntArray / ReadSettingIntArray / UpdateGeomFromWnd removed;
- arrays g_reminderListGeom & g_notesListGeom removed, these data are controlled now via standard call of Util_Save/RestoreWindowPosition;
- rest of UI code rewritten using UI classes;
- code cleaning
Diffstat (limited to 'plugins/NotesAndReminders/res')
-rw-r--r-- | plugins/NotesAndReminders/res/resource.rc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NotesAndReminders/res/resource.rc b/plugins/NotesAndReminders/res/resource.rc index d1cddd06ef..39ea977bf9 100644 --- a/plugins/NotesAndReminders/res/resource.rc +++ b/plugins/NotesAndReminders/res/resource.rc @@ -111,7 +111,7 @@ BEGIN COMBOBOX IDC_COMBO_SOUND,126,182,90,81,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "",IDC_BTN_PLAYSOUND,220,183,13,12,BS_ICON
DEFPUSHBUTTON "&Add Reminder",IDC_ADDREMINDER,158,6,76,14
- PUSHBUTTON "&Close",IDC_CLOSE,158,23,76,14
+ PUSHBUTTON "&Close",IDCANCEL,158,23,76,14
PUSHBUTTON "&View Reminders",IDC_VIEWREMINDERS,158,40,76,14
LTEXT "reftime",IDC_REFTIME,0,191,22,8,NOT WS_VISIBLE | NOT WS_GROUP
END
@@ -146,7 +146,7 @@ BEGIN CONTROL "List1",IDC_LISTREMINDERS,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP,3,4,251,146
EDITTEXT IDC_REMINDERDATA,3,153,251,69,ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | WS_VSCROLL
PUSHBUTTON "Add New",IDC_ADDNEWREMINDER,151,227,50,14
- DEFPUSHBUTTON "&Close",IDC_CLOSE,203,227,50,14
+ DEFPUSHBUTTON "&Close",IDCANCEL,203,227,50,14
END
|