Chapter 5: The Document/View Architecture Visual C++ and MFC Fundamentals
Figure 54: Adding an Icon Resource........................................................................................
- Click New
- Design the 32x32 icon as follows:
Figure 55: Icon Design - DocView1........................................................................................
- Add a 16x16 icon and design it as follows:
Figure 56: Icon Design - DocView2........................................................................................
- Using the Properties window, change the ID of the icon to IDR_MAINFRAME
- Display the Add Resource dialog box and double-click Menu
- Change the ID of the menu from IDR_MENU1 to IDR_MAINFRAME