diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2009-10-13 04:34:25 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2009-10-13 04:34:25 +0300 |
commit | 44cf244bab4c4cba771313bf3151a655775c0e0a (patch) | |
tree | 9d3f471cbe048f4ec059f968f1164ae3d7602570 /stopspam_mod/trunk/options.cpp | |
parent | 7b3818d042772e56dd0f2a59a99baf464d415f29 (diff) |
variables button icon, i will not do any changes to this, if you do not like it, send patches (kreol, mozilla e.t.c. ) )
Diffstat (limited to 'stopspam_mod/trunk/options.cpp')
-rw-r--r-- | stopspam_mod/trunk/options.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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);
|