0% found this document useful (0 votes)
30 views1 page

Display The Dialog. When User Clicks Ok, Dlgview - Domodal Returns Idok

The document provides instructions for modifying a menu bar in a Microsoft Visual C++ application. It instructs the user to open a workspace file, select the main menu resource, then search for and select a command identifier to navigate to its event handler definition. The event handler code displays a dialog box modally and returns when the user clicks OK.

Uploaded by

pruthvi578
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views1 page

Display The Dialog. When User Clicks Ok, Dlgview - Domodal Returns Idok

The document provides instructions for modifying a menu bar in a Microsoft Visual C++ application. It instructs the user to open a workspace file, select the main menu resource, then search for and select a command identifier to navigate to its event handler definition. The event handler code displays a dialog box modally and returns when the user clicks OK.

Uploaded by

pruthvi578
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Open Microsoft Visual C++ Click on File option and select Open Workspace then select OpCenter.

dsw (browse and select in the source code folder). Under Resource View select the Menu folder and select IDR_MAINFRAME and click it. Upon clicking the IDR_MAINFRAME you will get the following menu bar

Select the File>>>>New View.then copy ID_FILE_NEWTASK in the search bar and search it. Then in the results bar select ON_COMMAND(ID_FILE_NEWTASK, OnFileNewView) Rightclick on the OnFileNewView then select Go To Definition of OnFileNewView.
// Display the dialog. When user clicks OK, dlgView.DoModal() returns IDOK.

You might also like