Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The latest version of this topic can be found at User-Interface Updating for Record Views (MFC Data Access).
CRecordViewandCDaoRecordViewalso provide default user-interface update handlers for the navigation commands. These handlers automate enabling and disabling the user-interface objects — menu items and toolbar buttons. The application wizard supplies standard menus and, if you choose the **Dockable Toolbar** option, a set of toolbar buttons for the commands. If you create a record view class usingCRecordView`, you might want to add similar user-interface objects to your application.
To create menu resources with the menu editor
- Referring to the information about using the menu editor, create your own menu with the same four commands.
To create toolbar buttons with the graphics editor
- Referring to the information about using the toolbar editor, edit the toolbar resource to add toolbar buttons for your record navigation commands.