| CBCGPToolbarDateTimeCtrl::CBCGPToolbarDateTimeCtrl | ( | UINT | uiID, |
| int | iImage, | ||
| DWORD | dwStyle = 0, |
||
| int | iWidth = 0, |
||
| const CTime & | time = CTime() |
||
| ) |
Constructs a CBCGPToolbarDateTimeCtrl object.
Constructs and initializes a CBCGPToolbarDateTimeCtrl 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 CBCGPToolbarDateTimeCtrl 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. |