From e1affe6fb8d4d67cd22487399fa3be86695beae3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 20 Mar 2019 18:26:44 +0300 Subject: 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 --- plugins/NotesAndReminders/res/resource.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/NotesAndReminders/res') 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 -- cgit v1.2.3