CDateTimeCtrl::SetFormat

BOOL SetFormat( LPCTSTR pstrFormat );

Return Value

Nonzero if successful; otherwise 0.

Parameters

pstrFormat

A pointer to a zero-terminated format string that defines the desired display. Setting this parameter to NULL will reset the control to the default format string for the current style.

Remarks

This member function implements the behavior of the Win32 message DTM_SETFORMAT, as described in the Platform SDK.

CDateTimeCtrl OverviewClass MembersHierarchy Chart