- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to create an MDIQuickWin application with menu-driven dialogs ?
Link Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes. Dialogs can be used in any application type.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have tried this, but although the dialgog is presented, it does not "work", and the "Esc" key is the only way out. I have submitted the source code to Premier, but no reply as yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, I'm not sure Premier Support is the best place for that sort of question. This forum would be better.
I've written many QuickWin programs with dialogs. Can you attach a small example that doesn't work for you? You'd need to use a modal dialog. Also, I'm not entirely sure what you mean by a "menu driven dialog" - perhaps Jugoslav or one of the others better versed in Windows programming can comment.
I've written many QuickWin programs with dialogs. Can you attach a small example that doesn't work for you? You'd need to use a modal dialog. Also, I'm not entirely sure what you mean by a "menu driven dialog" - perhaps Jugoslav or one of the others better versed in Windows programming can comment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd appreciate a more detailed explanation and/or sample source which exhibits the behavior.
If by "menu-driven dialogs" you mean "dialogs which contain menus", it's doable only with a tweak -- take a look at MenuDialog sample.
If by "menu-driven dialogs" you mean "dialogs which contain menus", it's doable only with a tweak -- take a look at MenuDialog sample.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is a demo of the problem. In the File menu, select "Test change...", and this causes the modal dialog to run. However, none of the interface items in the dialog are active, and the only way out is the "Esc" key.
So, that is what I mean by "menu driven", I.E. pick something from a menu, user responds to the dialog, program takes an approptiate action.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tough debugging :-(. It turned out that you merely have set the property of the dialog Disabled="True", creating a vicious circle -- the dialog is created disabled, and DlgModal disables the parent window as well. So you ended up having all windows disabled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Excellent. Thanks

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page