DoModal()
GetItem(IDD_)->EnableWindow(TRUE/FALSE);
If you want to hide the dialog when calling DoModal on another dialog from it, you can call ShowWindow on the dialog before and after the DoModal call. Something like:
DoModal
ShowWindow
this->ShowWindow(SW_HIDE); // Call DoModal here. this->ShowWindow(SW_SHOW);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)