First of all, if I can tell you about my situation, I'm going to do a project with MFC in a single document, and I'm going to do a basic class with FormView And I added a new dialog in the Resource View tab and a class for that dial. What I need is that the first time I run an app, I need a class called ViewerView to create a dialog Then, you have to launch the newly created dialog.
But... I looked it up and found that there was no function called after the basic class dialog was completed. If you have that function, you can just do DoModal(); and float it' ㅠ<
Masters... Please. Is there any way?
mfc formview viewerview domodal
https://docs.microsoft.com/ko-kr/cpp/mfc/reference/cdialog-class?view=vs-2019#domodal
Please refer to the link above and process it as the return value of the dialog as shown in the example below.
if (tempDialog.DoModal() == IDOK)
{
// Action at end of dialog
if(tempDialg2.DoModal() ==IDOK)
{
// After the second dialog,
}
}
912 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
581 PHP ssh2_scp_send fails to send files as intended
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
617 Uncaught (inpromise) Error on Electron: An object could not be cloned
610 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.