diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-14 03:42:51 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-14 03:42:51 +0000 |
commit | fe0465b11a317db5408d897484caedc3a5f10c47 (patch) | |
tree | 317165e824a64dd16a36d9e5b9e3ad366bd57e6d /plugins/Msg_Export | |
parent | 3e283b33c4f85f4cf75486febf95b7a39eb06837 (diff) |
SendDlgItemMessage(...BM_SETCHECK ...) -> CheckDlgButton(...)
SendDlgItemMessage(...BM_GETCHECK ...) -> IsDlgButtonChecked(...)
constants fix for CheckDlgButton()
git-svn-id: http://svn.miranda-ng.org/main/trunk@11387 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Msg_Export')
-rwxr-xr-x | plugins/Msg_Export/src/options.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/Msg_Export/src/options.cpp b/plugins/Msg_Export/src/options.cpp index 9e53605f25..1390af62c4 100755 --- a/plugins/Msg_Export/src/options.cpp +++ b/plugins/Msg_Export/src/options.cpp @@ -838,7 +838,7 @@ static INT_PTR CALLBACK DlgProcMsgExportOpts(HWND hwndDlg, UINT msg, WPARAM wPar /* {
EnableWindow(
GetDlgItem(hwndDlg, IDC_FILE_VIEWER ),
- !IsDlgButtonChecked(hwndDlg, IDC_USE_INTERNAL_VIEWER )
+ BST_UNCHECKED == IsDlgButtonChecked(hwndDlg, IDC_USE_INTERNAL_VIEWER )
);
}// fall thru here !!*/
case IDC_REPLACE_MIRANDA_HISTORY:
@@ -1229,25 +1229,25 @@ static INT_PTR CALLBACK DlgProcMsgExportOpts2(HWND hwndDlg, UINT msg, WPARAM wPa switch( enRenameAction )
{
case eDAPromptUser:
- CheckDlgButton(hwndDlg, IDC_FC_PROMPT, true);
+ CheckDlgButton(hwndDlg, IDC_FC_PROMPT, BST_CHECKED);
break;
case eDAAutomatic:
- CheckDlgButton(hwndDlg, IDC_FC_RENAME, true);
+ CheckDlgButton(hwndDlg, IDC_FC_RENAME, BST_CHECKED);
break;
case eDANothing:
- CheckDlgButton(hwndDlg, IDC_FC_NOTHING, true);
+ CheckDlgButton(hwndDlg, IDC_FC_NOTHING, BST_CHECKED);
break;
}
switch( enDeleteAction )
{
case eDAPromptUser:
- CheckDlgButton(hwndDlg, IDC_FD_PROMPT, true);
+ CheckDlgButton(hwndDlg, IDC_FD_PROMPT, BST_CHECKED);
break;
case eDAAutomatic:
- CheckDlgButton(hwndDlg, IDC_FD_DELETE, true);
+ CheckDlgButton(hwndDlg, IDC_FD_DELETE, BST_CHECKED);
break;
case eDANothing:
- CheckDlgButton(hwndDlg, IDC_FD_NOTHING, true);
+ CheckDlgButton(hwndDlg, IDC_FD_NOTHING, BST_CHECKED);
break;
}
HWND hMapUser = GetDlgItem(hwndDlg, IDC_EXPORT_PROTOS);
|