NO

Author Topic: How to hide or remove component from window?  (Read 3231 times)

FruitDealer

  • Guest
How to hide or remove component from window?
« on: August 28, 2014, 06:36:15 AM »
How I can remove or hide some components from window (buttons, combobox etc)?

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: How to hide or remove component from window?
« Reply #1 on: August 28, 2014, 08:30:49 AM »
If you mean at runtime ShowWindow(hWnd, SW_HIDE);
May the source be with you

FruitDealer

  • Guest
Re: How to hide or remove component from window?
« Reply #2 on: August 28, 2014, 08:47:11 AM »
TimoVJL, thanks! That's what I need. But how can I show hidden component again?

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: How to hide or remove component from window?
« Reply #3 on: August 28, 2014, 10:28:09 AM »
ShowWindow(hWnd, SW_SHOW);

Look here
May the source be with you

FruitDealer

  • Guest
Re: How to hide or remove component from window?
« Reply #4 on: August 28, 2014, 10:39:18 AM »
Thx!