How to Hide/Show Controls on the fly???

Started by Gary Stout, November 29, 2012, 03:20:55 PM

Previous topic - Next topic

Gary Stout

Can someone give me some clues how to hide a control and how to show a control on the fly? I am creating a series of buttons on a form, but when a particular button is clicked, I need to hide certain buttons. Then, if the Exit button is clicked, I need to re-show the original buttons that were hidden.

Thanks,
Gary

José Roca

ShowWindow (<handle of the control>, %SW_HIDE)
ShowWindow (<handle of the control>, %SW_SHOW)

Gary Stout

Thanks Jose! I will give that a try.
I have been away from FF for a while and right now between projects, so I am trying to get re-acquainted with it.

Thanks again,
Gary