From fe0465b11a317db5408d897484caedc3a5f10c47 Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Sun, 14 Dec 2014 03:42:51 +0000 Subject: 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 --- plugins/Msg_Export/src/options.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'plugins/Msg_Export') 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); -- cgit v1.2.3