Hello guys..
I have developed an MDI form using class wxFrame.. I have included menus and tool bars as per my requirement..
There is one facility where in a user can enable or disable the autosave oprion.. Thus i have designed an interface (using wxMiniFrame) with a checkbox, so that user can enable or disable the autosave functionality..
Everything is working fine.. But i need to make it modal.. Similar to the one that dialogbox does.. we say,
(dialogbox).ShowModal(true);
I need a similar thing that has to be applicable in my case.. Till user closes this call form, the application should not allow them to access the MDI form..
Thanks in advance
making wxFrame Modal Topic is solved
Have a look here:
http://forums.wxwidgets.org/viewtopic.p ... al+wxframe
http://forums.wxwidgets.org/viewtopic.p ... al+wxframe
Re: making wxFrame Modal
I found this->MakeModal(true) does not work with wxFrame; it doesn't create an event loop.this->MakeModal(true);
I used Jason's modalwindow class in place of wxFrame. modalwindow->ShowModal() now works as expected.
http://forums.wxwidgets.org/viewtopic.p ... log#p89334
