diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-13 23:12:37 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-13 23:12:37 +0000 |
commit | 6a32de54e79c7f572f552922aed3273206298f92 (patch) | |
tree | c3b41e5c460aaa20328f5c176667f82086323e6b /plugins/Clist_nicer/src/clistmenus.cpp | |
parent | 47c19f7007a24ccf7e4be993255e36baff65b4ca (diff) |
SendDlgItemMessage(..., ..., BM_GETCHECK,0,0) -> IsDlgButtonChecked(..., ...)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11385 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/clistmenus.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/clistmenus.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_nicer/src/clistmenus.cpp b/plugins/Clist_nicer/src/clistmenus.cpp index 4b983cf631..8cd75b19b2 100644 --- a/plugins/Clist_nicer/src/clistmenus.cpp +++ b/plugins/Clist_nicer/src/clistmenus.cpp @@ -234,13 +234,13 @@ static INT_PTR CALLBACK IgnoreDialogProc(HWND hWnd, UINT msg, WPARAM wParam, LPA dwFlags &= ~(ECF_FORCEOVERLAY | ECF_HIDEOVERLAY | ECF_FORCELOCALTIME | ECF_HIDELOCALTIME);
- checked = SendDlgItemMessage(hWnd, IDC_OVERLAYICON, BM_GETCHECK, 0, 0);
+ checked = IsDlgButtonChecked(hWnd, IDC_OVERLAYICON);
if (checked == BST_CHECKED)
dwFlags |= ECF_FORCEOVERLAY;
else if (checked == BST_UNCHECKED)
dwFlags |= ECF_HIDEOVERLAY;
- checked = SendDlgItemMessage(hWnd, IDC_SHOWLOCALTIME1, BM_GETCHECK, 0, 0);
+ checked = IsDlgButtonChecked(hWnd, IDC_SHOWLOCALTIME1);
if (checked == BST_CHECKED)
dwFlags |= ECF_FORCELOCALTIME;
else if (checked == BST_UNCHECKED)
|