How do you 'hide' or make visible a previously hidden control?

I was hoping to find WM_VISIBLE or something like that, but no luck.
Posted on 2003-04-13 15:28:26 by msmith
make visible :

invoke GetWindowLong,hControl,GWL_STYLE
or eax,WS_VISIBLE
invoke SetWindowLong ,hControl,GWL_STYLE,eax

make invisible :

invoke GetWindowLong,hControl,GWL_STYLE
and eax,NOT WS_VISIBLE
invoke SetWindowLong ,hControl,GWL_STYLE,eax
Posted on 2003-04-13 15:31:36 by donkey
show:
invoke ShowWindow,hControl, SW_SHOWNORMAL

hide:
invoke ShowWindow,hControl, SW_HIDE
Posted on 2003-04-13 15:39:48 by tremors