Hi,
According to you issue, I wonder if you want to show a Message box to prompt user to enter input? If so, you could create a modal dialog box to prompt user to enter input.
Here is the code:
CMyNewDlg *pDlg = new CMyNewDlg;
pDlg->Create(IDD_DIALOG1, this);
pDlg->ShowWindow(SW_SHOW);
And you could also try to use AfxMessageBox:
AfxMessageBox(_T("Please enter input."));
If I misunderstood your meaning, please explain your issue in more detail.
Best Regards,
Jeanine
If the response is helpful, please click "Accept Answer" and upvote it.
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.