Click to See Complete Forum and Search --> : Use of DDX_FieldDateTimeCtrl gives Undeclared Identifier


gargamel
September 4th, 1999, 11:13 AM
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

jbakst
September 4th, 1999, 07:45 PM
Do you have the latest comctrl.h file? Are you using VC 6.x?

Jeff

Principal Software Engineer
CASI-RUSCO, Inc.

gargamel
September 4th, 1999, 08:29 PM
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