Adding Icon / Image to a CButton object (VC++ / MFC / Win32)
Sometimes it is required to set an Image (or) Icon to a CButton MFC object for better User Interface display. The following steps cover how to add an Icon/Image to a CButton Object. Assume the following: CTestDialog – is the test dialog class that is derived from the MFC class CDialog. IDC_BUTTON_ICONĀ – is the button […]