JiiPee
2015-11-29 22:16:21 UTC
If I have a SDI project and lets say I want to store options for the
document (or other data). What is the best place the launch (DoModal)
the options dialog box? Is it best done in Document class? Or in
MainFrame? My guess is that document is the place, but is it?
Is it so that all document related dialog boxes (dialog boxes which
modify documents data) should be created/launched in document class
(creating event handler there)? When would I launch a dialog box in
MainFrame class (by creating an event handler there)? Is it when
something if Mainframe related? And I do an event handler in view class
if it is view related issue, is this the way to do it? Thank you
document (or other data). What is the best place the launch (DoModal)
the options dialog box? Is it best done in Document class? Or in
MainFrame? My guess is that document is the place, but is it?
Is it so that all document related dialog boxes (dialog boxes which
modify documents data) should be created/launched in document class
(creating event handler there)? When would I launch a dialog box in
MainFrame class (by creating an event handler there)? Is it when
something if Mainframe related? And I do an event handler in view class
if it is view related issue, is this the way to do it? Thank you