From 44cf244bab4c4cba771313bf3151a655775c0e0a Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Tue, 13 Oct 2009 04:34:25 +0300 Subject: variables button icon, i will not do any changes to this, if you do not like it, send patches (kreol, mozilla e.t.c. ) ) --- stopspam_mod/trunk/options.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'stopspam_mod/trunk/options.cpp') diff --git a/stopspam_mod/trunk/options.cpp b/stopspam_mod/trunk/options.cpp index 89bf80b..8928988 100644 --- a/stopspam_mod/trunk/options.cpp +++ b/stopspam_mod/trunk/options.cpp @@ -79,11 +79,12 @@ INT_PTR CALLBACK MessagesDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPar case WM_INITDIALOG: { TranslateDialogDefault(hwnd); - gbVarsServiceExist?EnableWindow(GetDlgItem(hwnd, IDC_VARS),1):EnableWindow(GetDlgItem(hwnd, IDC_VARS),0); SetDlgItemText(hwnd, ID_QUESTION, gbQuestion.c_str()); SetDlgItemText(hwnd, ID_ANSWER, gbAnswer.c_str()); SetDlgItemText(hwnd, ID_CONGRATULATION, gbCongratulation.c_str()); SetDlgItemText(hwnd, ID_AUTHREPL, gbAuthRepl.c_str()); + variables_skin_helpbutton(hwnd, IDC_VARS); + gbVarsServiceExist?EnableWindow(GetDlgItem(hwnd, IDC_VARS),1):EnableWindow(GetDlgItem(hwnd, IDC_VARS),0); } return TRUE; case WM_COMMAND: @@ -107,7 +108,7 @@ INT_PTR CALLBACK MessagesDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPar SendMessage(GetParent(hwnd), PSM_CHANGED, 0, 0); return TRUE; case IDC_VARS: - variables_showhelp(hwnd, msg, 0, "", ""); + variables_showhelp(hwnd, msg, VHF_FULLDLG|VHF_SETLASTSUBJECT, NULL, NULL); return TRUE; } SendMessage(GetParent(hwnd), PSM_CHANGED, 0, 0); -- cgit v1.2.3