Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.24 KB

command-handlers-for-record-scrolling-mfc-data-access.md

File metadata and controls

27 lines (18 loc) · 1.24 KB
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Command Handlers for Record Scrolling (MFC Data Access)
Command Handlers for Record Scrolling (MFC Data Access)
11/04/2016
record views [C++], scrolling
record scrolling [C++]
scrolling records
f8b13477-2a37-459e-a30c-806fb78165ac

Command Handlers for Record Scrolling (MFC Data Access)

The CRecordView class provides default command handling for the following standard commands:

  • ID_RECORD_MOVE_FIRST

  • ID_RECORD_MOVE_LAST

  • ID_RECORD_MOVE_NEXT

  • ID_RECORD_MOVE_PREV

The OnMove member function provides default command handling for all four commands, which move from record to record. As these commands are issued, RFX (or DFX) loads the new record into the recordset's fields and DDX moves the values into the record form's controls. For information about RFX, see Record Field Exchange (RFX).

Note

Be sure to use these standard command IDs for any user-interface objects associated with the standard record navigation commands.

See also

Supporting Navigation in a Record View