Hi guys, I was wondering if there was an easy way of clearing a screen that had controls setup on it, like editboxes and static controls and all of the other Windows class structures there are
Thanks in advance for the help
Hi guys, I was wondering if there was an easy way of clearing a screen that had controls setup on it, like editboxes and static controls and all of the other Windows class structures there are
Thanks in advance for the help
ShowWindow(hControl, FALSE);
Or something similar. I haven't programmed in a while.
I'm not certain why boolean values work, but they do. I think correctly it should be SW_SHOW or SW_HIDE.
I tend to do it both ways....
I'm sorry, this is a bad habit I've taken. SW_HIDE must be defined as 0. I'm not even sure this is guaranteed to be true. SW_HIDE and SW_SHOW are better.
then use this repeatedly in conjuction with EnumChildWindows
Last edited by @nthony; 04-15-2007 at 05:55 PM. Reason: EnumChildWindows
Thanks guys I think I know how I am going to do it now