From f85e431c9311db1f3703d85b80b214639b0eedcf Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 19 Apr 2015 17:09:51 +0000 Subject: fixed header bar info git-svn-id: http://svn.miranda-ng.org/main/trunk@12937 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/UserInfoEx/res/resource.rc | 4 ++-- plugins/UserInfoEx/src/dlg_propsheet.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/UserInfoEx') diff --git a/plugins/UserInfoEx/res/resource.rc b/plugins/UserInfoEx/res/resource.rc index a4a139ad5a..c2d72d0b71 100644 --- a/plugins/UserInfoEx/res/resource.rc +++ b/plugins/UserInfoEx/res/resource.rc @@ -29,7 +29,7 @@ EXSTYLE WS_EX_NOPARENTNOTIFY | WS_EX_CONTROLPARENT CAPTION "Edit contact information" FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN - CONTROL "Edit Contact Information\nThis list gives you some overview about all your contact's anniversaries.",IDC_HEADERBAR, + CONTROL "This list gives you some overview about all your contact's anniversaries.",IDC_HEADERBAR, "MHeaderbarCtrl",WS_TABSTOP,0,0,405,25 CONTROL "",IDC_PAGETITLEBG,"Static",SS_WHITERECT | NOT WS_VISIBLE,101,25,300,21 CONTROL "Origin",IDC_PAGETITLE,"Static",SS_SIMPLE | WS_GROUP,108,28,284,15 @@ -285,7 +285,7 @@ CAPTION "Anniversary editor" FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN CONTROL "",IDC_STATIC,"Static",SS_WHITERECT,0,25,185,39 - CONTROL "Anniversary Editor\nAdd/Edit your anniversary here.",IDC_HEADERBAR, + CONTROL "Add/Edit your anniversary here.",IDC_HEADERBAR, "MHeaderbarCtrl",0x0,0,0,185,25 CONTROL "Enter a name for the anniversary here please:",IDC_STATIC, "Static",SS_SIMPLE | WS_GROUP,3,31,178,8 diff --git a/plugins/UserInfoEx/src/dlg_propsheet.cpp b/plugins/UserInfoEx/src/dlg_propsheet.cpp index 265a885574..327545b488 100644 --- a/plugins/UserInfoEx/src/dlg_propsheet.cpp +++ b/plugins/UserInfoEx/src/dlg_propsheet.cpp @@ -1107,7 +1107,7 @@ static INT_PTR CALLBACK DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lPar HWND hName = GetDlgItem(hDlg, TXT_NAME); SetWindowText(hName, pszName); SetWindowText(hDlg, CMString(FORMAT, _T("%s - %s"), pszName, TranslateT("edit contact information"))); - SetDlgItemText(hDlg, IDC_HEADERBAR, CMString(FORMAT, _T("%s\n%s"), TranslateT("Edit contact information"), pszName)); + SetDlgItemText(hDlg, IDC_HEADERBAR, CMString(FORMAT, _T("%s"), pszName)); // redraw the name control POINT pt = { 0, 0 }; -- cgit v1.2.3