CBCGPDateTimeProp::CBCGPDateTimeProp | ( | const CString & | strName, |
UINT | nID, | ||
const COleDateTime & | date, | ||
LPCTSTR | lpszDescr = NULL , |
||
DWORD_PTR | dwData = 0 , |
||
UINT | nFlags = CBCGPDateTimeCtrl::DTM_DATE|CBCGPDateTimeCtrl::DTM_TIME , |
||
const CBCGPDateTimePropAttributes * | pAttributes = NULL |
||
) |
Constructs and initializes a date time property.
The constructor. nFlags can be a combination of CBCGPDateTimeCtrl::DTM_DATE | CBCGPDateTimeCtrl::DTM_TIME flags.
strName | Specifies property name. |
nID | Specifies property ID. |
date | Specifies property value. |
lpszDescr | Specifies property description. |
dwData | Specifies user defined data associated with property. |
nFlags | Specifies the property type. |
pAttributes | Specifies the date/time attributes. |