BCGControlBar Pro for MFC
CBCGPToolbarDateTimeCtrl2

Detailed Description

The CBCGPToolbarDateTimeCtrl2 is derived from CBCGPToolbarDateTimeCtrl class, but since it's based on COleDateTime, it doesn't have CTime year limits (1970 - 2037).

+ Inheritance diagram for CBCGPToolbarDateTimeCtrl2:

Public Member Functions

 CBCGPToolbarDateTimeCtrl2Constructs a CBCGPToolbarDateTimeCtrl2 object.
 
- Public Member Functions inherited from CBCGPToolbarDateTimeCtrl
 CBCGPToolbarDateTimeCtrlConstructs a CBCGPToolbarDateTimeCtrl object.
 
 CreateDateTimeCtrlCalled to create a new CBCGPDateTimeCtrlWin object
 
 CreateThemedDateTimeCtrlCalled to create a new CBCGPDateTimeCtrl object
 
 GetDateTimeCtrlReturns a pointer to encapsulated MFC date and time picker control.
 
 GetDateTimeCtrlThemedReturns a pointer to encapsulated date and time picker control.
 
 GetTimeRetrieves the currently selected time from a date and time picker control and places it in a specified SYSTEMTIME structure. The same as CDateTimeCtrl::GetTime.
 
 GetTimeRetrieves the currently selected time from a date and time picker control and places it in a specified SYSTEMTIME structure. The same as CDateTimeCtrl::GetTime.
 
 GetTimeRetrieves the currently selected time from a date and time picker control and places it in a specified SYSTEMTIME structure. The same as CDateTimeCtrl::GetTime.
 
 SetStyleSets a toolbar button's-specific style.
 
 SetTimeSets the time in a date and time picker control.
 
 SetTimeSets the time in a date and time picker control.
 
 SetTimeSets the time in a date and time picker control.
 
- Public Member Functions inherited from CBCGPToolbarButton
 CBCGPToolbarButtonConstructs and initializes a CBCGPToolbarButton object.
 
 CanBeDroppedIndicates whether a button can be dropped on a toolbar.
 
 GetImageReturns a toolbar button's image.
 
 GetTextSizeReturns the size (in pixels) of the button text.
 
 IsDrawImageTells whether a button's image is displayed.
 
 IsDrawTextTells whether a button's text label is displayed.
 
 IsEditableTells whether a button is customizable or not.
 
 IsExtraSizeDetermines whether the border's extra size should be taken into account.
 
 IsHiddenTells whether a button is hidden or not.
 
 IsLockedReturns a flag indicating whether a button belongs to the locked (non-customizable) toolbar and can't be customized (dragged, dropped or edited).
 
 IsOnGlassChecks if button is located on DWM ("Glass") area of the parent toolbar.
 
 IsVisibleDetermines whether a toolbar button is visible or not.
 
 OnBeforeDragCalled by the framework before user begins to drag the button.
 
 OnBeforeDropCalled by the framework before button is dropped on target.
 
 OnClickUpCalled by the framework when the user releases the toolbar button.
 
 OnContextHelpCalled by the framework when the parent toolbar processes the WM_HELPHITTEST message.
 
 OnDblClickCalled by the framework when the parent toolbar handles OnLButtonDblClk.
 
 OnGetCustomToolTipTextCalled by the framework when it needs to display a tooltip for the toolbar button.
 
 OnToolHitTestCalled by the framework when the parent toolbar needs to determine whether a point is in the bounding rectangle of the specified tool.
 
 RectReturns a buttons' bounding rectangle.
 
 SetImageSets a button's image.
 
 SetRadioCalled by the framework when a button changes its check state.
 
 SetRectSets a new button's bounding rectangle.
 
 SetVisibleShows or hides a toolbar button.
 
 ShowMakes a button visible or hidden.
 

Additional Inherited Members

- Static Public Member Functions inherited from CBCGPToolbarDateTimeCtrl
 GetTimeAllLooks for a toolbar button with the specified command ID and then calls CDateTimeCtrl::GetTime (see MFC documentation for details).
 
 GetTimeAllLooks for a toolbar button with the specified command ID and then calls CDateTimeCtrl::GetTime (see MFC documentation for details).
 
 GetTimeAllLooks for a toolbar button with the specified command ID and then calls CDateTimeCtrl::GetTime (see MFC documentation for details).
 
 SetTimeAllLooks for a toolbar button with the specified command ID and sets the time in a date and time picker control.
 
 SetTimeAllLooks for a toolbar button with the specified command ID and sets the time in a date and time picker control.
 
 SetTimeAllLooks for a toolbar button with the specified command ID and sets the time in a date and time picker control.
 
- Static Public Member Functions inherited from CBCGPToolbarButton
 GetProtectedCommandsReturns a reference to CList object, which contains a collection of commands that can't be customized by the user.
 
 SetProtectedCommandsSets a list of protected commands.
 
- Public Attributes inherited from CBCGPToolbarButton
 m_bImageIndicates whether the image of the toolbar button is displayed or not.
 
 m_bTextIndicates whether the text label of the toolbar button is displayed or not.
 
 m_bTextBelowIndicates whether the button's text label is displayed below the image.
 
 m_bUserButtonIndicates whether a button has the user-defined image (TRUE) or not (FALSE).
 
 m_bWholeTextIndicates whether a button displays full text label (TRUE), or clips the text and replace the rest by "..." if the text doesn't fit to the bounding rectangle.
 
 m_bWrapIf this flag is TRUE for a separator, the next to the separator button will be placed on the next row.
 
 m_nIDContains the command ID of a button.
 
 m_nStyleContains the style of a toolbar button.
 
 m_strTextContains the text label of a button.
 
- Static Public Attributes inherited from CBCGPToolbarDateTimeCtrl
 m_bThemedDateTimeControlThis global flag specifies whether encapsulated date/time control has a themed (Visual manager-based) look.
 
- Static Public Attributes inherited from CBCGPToolbarButton
 m_bWrapTextIf TRUE, enables multi-line text labels.