Share via


COleDBRecordView::COleDBRecordView

Constructs a COleDBRecordView object.

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

Parameters

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

Remarks

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

Note

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.

Requirements

Header: afxoledb.h

See Also

Reference

COleDBRecordView Class

Hierarchy Chart