Condividi tramite


Standard Dialog Data Validation Routines

This topic lists the standard dialog data validation (DDV) routines used for common MFC dialog controls.

Nota

The standard dialog data exchange routines are defined in the header file afxdd_.h. However, applications should include afxwin.h.

DDV Functions

DDV_MaxChars

Verifies the number of characters in a given control value does not exceed a given maximum.

DDV_MinMaxByte

Verifies a given control value does not exceed a given BYTE range.

DDV_MinMaxDateTime

Verifies a given control value does not exceed a given time range.

DDV_MinMaxDouble

Verifies a given control value does not exceed a given double range.

DDV_MinMaxDWord

Verifies a given control value does not exceed a given DWORD range.

DDV_MinMaxFloat

Verifies a given control value does not exceed a given float range.

DDV_MinMaxInt

Verifies a given control value does not exceed a given int range.

DDV_MinMaxLong

Verifies a given control value does not exceed a given long range.

DDV_MinMaxLongLong

Verifies a given control value does not exceed a given LONGLONG range.

DDV_MinMaxMonth

Verifies a given control value does not exceed a given date range.

DDV_MinMaxShort

Verifies a given control value does not exceed a given short range.

DDV_MinMaxSlider

Verifies a given slider control value falls within the given range.

DDV_MinMaxUInt

Verifies a given control value does not exceed a given UINT range.

DDV_MinMaxULongLong

Verifies a given control value does not exceed a given ULONGLONG range.

See Also

Concepts

Standard Dialog Data Exchange Routines

MFC Macros and Globals