[comp.windows.ms.programmer] Hiding Controls

jboritz@alias.UUCP (Jim J. Boritz) (11/02/90)

I have a modeless dialog box which I use for displaying messages and
occasionally for accepting input.  

I use a standard single line edit control for accepting the input, but 
most of the time I don't want the edit control to be active.  

What I would like to do is hide the edit control window.  I have tried to 
do this using ShowWindow() with SW_HIDE turned on, but have been unsucessful.

The only working solution I have come up with so far is to Create and 
Destroy the window as needed, but this seems inefficient.

Is it possible to hide the control windows that appear with dialogs?
If it is, could someone please explain what needs to be done.
--
Jim Boritz
jboritz@alias.uucp