I added a check box with ID "IDC_BLACK" in a dialog box. As I tried to get the reference of the check box it says, type "int" is incompatible with type "HWND".
CButton *m_ctlCheck = new CButton;
m_ctlCheck = reinterpret_cast<CButton *>(GetDlgItem(IDC_BLACK));
Any help will be appreciated.