Hi @drjackool ,
I suggest you try to set the parent window of the dialog box to the computer desktop, so that the desktop is displayed when the dialog box is called. You could refer to my code.
Mydlg = new MyDlg;
Mydlg->Create(IDD_DIALOG, GetDesktopWindow());
Mydlg->ShowWindow(SW_SHOWNORMAL);
Best regards,
Elya
If the answer is the right solution, please click "Accept Answer" and upvote it.If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.