Click to See Complete Forum and Search --> : Dialog boxes
When i call a dialog box, how do i make it so that the user cant do anything else with the app until hes finished with the dialog?
Vlatko
Oct 7th, 2000, 02:43 PM
You can create a new class for your new dialog.Then declare a variable of your dialog class name type.Then you can use all the functions with your dlg.
Note: You have to include your new class header file.
#include "YourDialogClassName.h"
YourDialogClassName mydlg;
mydlg.DoModal()
parksie
Oct 8th, 2000, 05:06 AM
That's only for MFC. In normal terms, use the DialogBox function to make a modal dialogue box.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.