SECDateTimeCtrl::SetNull

voidSECDateTimeCtrl::SetNull(TCHARcNull= _T('_'))

Sets null date entry mode.

Defined in: DTCtrl.cpp

Return Value

void

Comments

To invoke this mode, the developer must call SECDateTimeCtrl::SetNull as either the last thing before the SECDateTimeCtrl window has been created, or at any time while the window is visible.

The null date entry mode is only designed to work with numeric fields. Any text fields (such as month name) will be displayed in their text form and editing will be somewhat limited.

The character used for displaying null fields should only be an underscore or space. This is because the size of each field is fixed by the width of the maximum number of digits, and other characters will probably end up being truncated by the width of the field.

Parameters

cNull

The character to be used for displaying the null fields. Default character is an underscore (‘_’).

See Also

SECDateTimeCtrl