BCGControlBar Pro for MFC
void AFXAPI DDX_BCGPDuration ( CDataExchange *  pDX,
int  nIDC,
COleDateTimeSpan &  value 
)

Initializes or retrieves the current value of a date/time duration control.

The DDX_BCGPDuration function manages the transfer of date data between a date/time duration control (CBCGPDurationCtrl) in a dialog box, form view, or control view and a COleDateTimeSpan data member of the dialog box, form view, or control view object.

Parameters
pDXA pointer to a CDataExchange object.
nIDCThe resource ID of the date/time duration control associated with the member variable.
valueA reference to a COleDateTimeSpan member variable of the dialog box, form view, or control view object with which data is exchanged.