I'm writing a program in Visual C++ which uses multiple forms which are activated through a menu option, when a new form is opened the main form is disabled. I am having problems getting the main form to enable once the new form is closed.
vc++ Form enable/disable
Collapse
X
-
You can capture the OnClose() message for the window that you opened and in that function you can re-enable your main window.
If that doesn't help could you post some code. Here is what i am wondering
What type of window (Dialog, FrameWnd, ect)?
When you say Visual C++ are you using Win32API, MFC or some other Library?
Show us where you show the window and how you disable your main window.
Comment