I am using the CMFCEditBrowseCtrl
and display my own icon.
There are times when I want to disable the control (ie. m_control.EnableWindow(false);
. But it does not behave as I expect:
It is disabled, but the icon does not grey out. And this looks weird I think. What is the right way to address this?
This is how I assign the image to use (during OnInitDialog
):
m_editMainBibleReading.SetBrowseButtonImage(IDB_PNG_STUDENTS);