Share via


User-Interface Updating for Record Views

OverviewHow Do IFAQSampleODBC Driver List

CRecordView and CDaoRecordView also 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. AppWizard supplies standard menus and, if you choose the AppWizard “Dockable Toolbar” option, a set of toolbar buttons for the commands. If you create a record view class with ClassWizard, you may want to add similar user-interface objects to your application.

To create menu resources with the menu editor

  • Using the information on using the in Visual C++ User’s Guide, create your own menu with the same four commands.

To create toolbar buttons with the graphics editor

  • Using the information on using the in Visual C++ User’s Guide, edit the toolbar resource to add toolbar buttons for your record navigation commands.

For an example of these steps, see in Tutorials.

See Also   Record Views: Using a Record View