Link to home
Start Free TrialLog in
Avatar of mwcmp
mwcmp

asked on

Doc/View app

Hi all
If I have a Doc/View based app on evc, is it possible to have all my options on the mainframe menu, and when a dialog is being display, I can still access to the menu options (that are at the bottom)...?
ASKER CERTIFIED SOLUTION
Avatar of r2far
r2far

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mwcmp
mwcmp

ASKER

Making the dialog modeless also means that the title bar can be seen? Am I right?
modeless dialog simply means that the dialog will allow focus sharing.  model dialog boxes demand user attention.  Modeless dialogs are typically used when you need bi-directional communication between a dialog and it's parent while the dialog box is still open and active.

Modal dialog created using the DoModal() function.

Modeless dialog does not use DoModal().  In fact... If you 'create' a modeless dialog, DO NOT call DoModal() or the program will crash.

CSomeDlg dlg;
dlg.Create(IDD_DIALOG,this);    // IDD_DIALOG is the dialogs template ID, 'this' is standard pointer.  replace it with whatever window you want to be the dialogs parent.
dlg.ShowWindow(SW_SHOW);

// you must destroy a modeless dialog when you are donw with it
dlg.DestroyWindow();


Hope This Helps,
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial