이 항목은 아직 평가되지 않았습니다.- 이 항목 평가

DDV_MinMaxDateTime

Call DDV_MinMaxDateTime to verify that the time/date value in the date and time picker control (CDateTimeCtrl) associated with refValue falls between refMinRange and refMaxRange.

void AFXAPI DDV_MinMaxDateTime(
   CDataExchange* pDX,
   CTime& refValue,
   const CTime* refMinRange,
   const CTime* refMaxRange 
);
void AFXAPI DDV_MinMaxDateTime(
   CDataExchange* pDX,
   COleDateTime& refValue,
   const COleDateTime* refMinRange,
   const COleDateTime* refMaxRange 
);
pDX

A pointer to a CDataExchange object. The framework supplies this object to establish the context of the data exchange, including its direction. You don't need to delete this object.

refValue

A reference to a CTime or COleDateTime object associated with a member variable of the dialog box, form view, or control view object. This object contains the data to be validated.

refMinRange

Minimum date/time value allowed.

refMaxRange

Maximum date/time value allowed.

For more information about DDV, see Dialog Data Exchange and Validation.

Header: afxdd_.h

이 정보가 도움이 되었습니까?
(1500자 남음)
커뮤니티 콘텐츠 추가
Microsoft는 MSDN 웹 사이트에 대한 귀하의 의견을 이해하기 위해 온라인 설문 조사를 진행하고 있습니다. 참여하도록 선택하시면 MSDN 웹 사이트에서 나가실 때 온라인 설문 조사가 표시됩니다.

참여하시겠습니까?