I am trying to hide various controls on a Windows MFC Dialog Box App. I am using:
m_MyVariable.ShowWindow(SW_HIDE);
This will hide the parts of the control that are underneath another control, but the parts in the clear are still visible.
What I have tried:
Setting the control's "visible" property to FALSE. This starts the control off as hidden, but when I use ShowWindow(SW_SHOW), the control is visible and I can't hide it after that.
I made a new project with just 2 buttons and one group box, and this works as expected. I tried to compare Styles and ExStyles to see if anything was different, but I don't see anything.