Hi,
sollution of this issue should be quite easy. Every, MFC component class has a method
ShowWindow() that accepts TRUE/FALSE values or the window display-mode. The method comes from the class
CWnd, from which other componens are inherited. See documentation of this method at
MSDN
Calling this method should solve your problem.
Best regards,
J. K.