CBCGPToolbarDateTimeCtrl2::CBCGPToolbarDateTimeCtrl2 | ( | UINT | uiID, |
int | iImage, | ||
DWORD | dwStyle = 0 , |
||
int | iWidth = 0 , |
||
const COleDateTime & | time = COleDateTime() |
||
) |
Constructs a CBCGPToolbarDateTimeCtrl2 object.
Constructs and initializes a CBCGPToolbarDateTimeCtrl2 object. The object is initialized to system date and time.
You should call CreateDateTimeCtrl() member function to create the Windows control and attach it to the CBCGPToolbarDateTimeCtrl2 object.
uiID | Specifies the control ID. |
iImage | Specifies the image index in the toolbar's CBCGPToolBarImages object. |
dwStyle | Specifies the control's style. |
iWidth | Specifies the control's width. |
time | Specifies initial date/time. |