BCGSuite for MFC
void CBCGPDateTimeCtrl::SetRelated ( CBCGPDateTimeCtrl pOther)

Set related date picker.

Call this method to specify a pair of the date pickers used for dates range selection. A user will be able to select a dates range in the popup months calendars and selected dates are displayed in 2 related controls

Parameters
pOtherA related date picker. Can be NULL