Use of DDX_FieldDateTimeCtrl gives Undeclared Identifier
I have a simple RecordView which has several DateTimePicker boxes in it. When I link the DateTimePicker boxes with member variables in my RecordSet, ClassWizard adds the following to the DoDataExchange method in my View:
DDX_FieldDateTimeCtrl(pDX, IDC_REP_DATE, m_pSet->m_DATE_RPT, m_pSet);
DDX_FieldDateTimeCtrl(pDX, IDC_SATIS_DATE, m_pSet->m_DATE_PAID, m_pSet);
When I try to compile/build, it says:
error C2065: 'DDX_FieldDateTimeCtrl' : undeclared identifier
What might I be doing wrong?
John
Re: Use of DDX_FieldDateTimeCtrl gives Undeclared Identifier
Do you have the latest comctrl.h file? Are you using VC 6.x?
Jeff
Principal Software Engineer
CASI-RUSCO, Inc.
Re: Use of DDX_FieldDateTimeCtrl gives Undeclared Identifier
I am using VC++ 6.0 Enterprise with SP3.
I searched my hard drive and did not find any file called comctrl.h.
A 'Find in Files' search on my entire hard disk for "FieldDateTimeCtrl" did not find any occurances either.
John