Hiding controls in main window

  • Thread starter Thread starter Smokie123
  • Start date Start date
S

Smokie123

Guest
I'm working in C++, standard Win32, not MFC. I need to hide a few controls under certain circumstances. When I issue the ShowWindow command with the SW_HIDE option, it doesn't work. The controls are still visible.

I've been able to get it to work by hiding the main window, then hiding the controls. Afterward, when I show the main window again, the controls are invisible. Unfortunately, the whole window flashes off and on, which is not really acceptable.

Any idea what I might be doing wrong?

Thanks.

Continue reading...
 
Back
Top