Vladimir Panteleev <thecybershadow at gmail.com> wrote: > How does this look? I took the opportunity to remove the duplicate > "GetDlgItem(hwndDlg, LOWORD(dw))". It's better, but since BN_CLICKED is 0, there is no need to introduce wParam. -- Dmitry.