Toolbar and Dialog Boxes
-
Right now when I have a dialog box open I can only work in the one box and can't click on anything outside it (i.e. clicking on the toolbar to open another dialog box or getting the about box to come up isn't working...) I want to be able to click on the toolbar, menu, open more than 1 dialog box, etc. I guess I'm looking to make these dialog boxes work like child forms in an MDI MFC App. where no matter how many child windows you have open you can still click on the toolbar, menu, etc. Is that possible? Thanks,
Kitty5
-
Right now when I have a dialog box open I can only work in the one box and can't click on anything outside it (i.e. clicking on the toolbar to open another dialog box or getting the about box to come up isn't working...) I want to be able to click on the toolbar, menu, open more than 1 dialog box, etc. I guess I'm looking to make these dialog boxes work like child forms in an MDI MFC App. where no matter how many child windows you have open you can still click on the toolbar, menu, etc. Is that possible? Thanks,
Kitty5
It sounds like you are treating your dialogs as modal dialogs (that is, you are calling DoModal at some point). To accomplish what you want, you need to follow the non-modal creation method (using CDialog::Create). Check MSDN for more details and information.
If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week Zac
-
It sounds like you are treating your dialogs as modal dialogs (that is, you are calling DoModal at some point). To accomplish what you want, you need to follow the non-modal creation method (using CDialog::Create). Check MSDN for more details and information.
If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week Zac
Zac Howland wrote:
It sounds like you are treating your dialogs as modal dialogs (that is, you are calling DoModal at some point).
Yes, that was exactly what I was doing. Ok Cool. I figured it had something to do with the DoModal function that I was messing up on. Thanks! You ROCK! :-D
Kitty5