Поделиться через


COleDBRecordView::COleDBRecordView

Constructs a COleDBRecordView object.

COleDBRecordView(
   LPCTSTR lpszTemplateName 
);
COleDBRecordView(
   UINT nIDTemplate 
);

Параметры

  • lpszTemplateName
    Contains a null-terminated string that is the name of a dialog-template resource.

  • nIDTemplate
    Contains the ID number of a dialog-template resource.

Заметки

When you create an object of a type derived from COleDBRecordView, invoke one of the constructors to create the view object and identify the dialog resource on which the view is based. You can identify the resource either by name (pass a string as the argument to the constructor) or by its ID (pass an unsigned integer as the argument).

ПримечаниеПримечание.

Your derived class must supply its own constructor. In the constructor, invoke the constructor, COleDBRecordView::COleDBRecordView, with the resource name or ID as an argument.

Требования

Header: afxoledb.h

См. также

Основные понятия

COleDBRecordView Class

COleDBRecordView Members

Hierarchy Chart