Handling a Bookmark in the User Record

In the user record, you must add an entry in the COLUMN_MAP macro to handle the bookmark:

///////////////////////////////////////////////////////////////////////
// TestProvDlg.cpp

class CProvider
{
// Attributes
public:
   CBookmark<4>    bookmark;  // Add this line
   char   szCommand[256];
   char   szText[256];

Binding Maps
BEGIN_COLUMN_MAP(CProvider)
   BOOKMARK_ENTRY(bookmark)  // Add this line
   COLUMN_ENTRY(1, szCommand)
   COLUMN_ENTRY(2, szText)
END_COLUMN_MAP()
};

Back to Modifying the Consumer for Use with the Enhanced Provider