I would like call a form from other form pressing a button
(Creating child windows) in full screen in a SDI application with MFC
The code attached blocked the second form!!!
Thanks
Printable View
I would like call a form from other form pressing a button
(Creating child windows) in full screen in a SDI application with MFC
The code attached blocked the second form!!!
Thanks
What do you mean "call?" Are you referring to calling a member function or creating a window? In general, one solution is messages. Send a message to main frame.
Kuphryn
My problem is :I want an application in visual c++ that begins with a form in full screen with a button, when you press it appear a second form (closing the first form) with more controls that allow you to go to other forms...Quote:
Originally posted by kuphryn
What do you mean "call?" Are you referring to calling a member function or creating a window? In general, one solution is messages. Send a message to main frame.
Kuphryn
My parcial solution:I have created a form that pressing a button pass to other form but this form is blocked and I cannot work with it at all!!
Thanks again
One solution is MDI architecture.
Kuphryn
maybe we can help you without downloading?
1. From my point of view you can use only one view and put on it all controls you need and your button will hide part of them and show other part.
2. What do you think about PropertySheet ?
3. You can handle the button from the first view in the frame class - destroy the first view and create the second. Obviously, that's what you did. Where is the button handler ? You put it into the first view and there you're trying to destroy this view and create the second one ?