Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.6 KB

user-interface-updating-for-record-views-mfc-data-access.md

File metadata and controls

29 lines (22 loc) · 1.6 KB
title User-Interface Updating for Record Views (MFC Data Access) | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.technology
cpp-data
ms.topic conceptual
dev_langs
C++
helpviewer_keywords
user interfaces, updating
menus, updating as context changes
record views, user interface
ms.assetid 2c7914b6-2dc3-40c3-b2f2-8371da2a4063
author mikeblome
ms.author mblome
ms.workload
cplusplus
data-storage

User-Interface Updating for Record Views (MFC Data Access)

CRecordView provides 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 using CRecordView, you might want to add similar user-interface objects to your application.

To create menu resources with the menu editor

  1. 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

  1. Referring to the information about using the toolbar editor, edit the toolbar resource to add toolbar buttons for your record navigation commands.

See Also

Supporting Navigation in a Record View
Using a Record View