Pelles C forum

Pelles C => General discussions => Topic started by: FruitDealer on August 28, 2014, 06:36:15 AM

Title: How to hide or remove component from window?
Post by: FruitDealer on August 28, 2014, 06:36:15 AM
How I can remove or hide some components from window (buttons, combobox etc)?
Title: Re: How to hide or remove component from window?
Post by: TimoVJL on August 28, 2014, 08:30:49 AM
If you mean at runtime ShowWindow(hWnd, SW_HIDE);
Title: Re: How to hide or remove component from window?
Post by: FruitDealer on August 28, 2014, 08:47:11 AM
TimoVJL, thanks! That's what I need. But how can I show hidden component again?
Title: Re: How to hide or remove component from window?
Post by: TimoVJL on August 28, 2014, 10:28:09 AM
ShowWindow(hWnd, SW_SHOW);

Look here (http://msdn.microsoft.com/en-us/library/windows/desktop/ms633548(v=vs.85).aspx)
Title: Re: How to hide or remove component from window?
Post by: FruitDealer on August 28, 2014, 10:39:18 AM
Thx!