MCPcopy Create free account
hub / github.com/cinience/RedisStudio / UpdateText

Method UpdateText

DuiLib/Control/UIDateTime.cpp:208–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206 }
207
208 void CDateTimeUI::UpdateText()
209 {
210 if (m_nDTUpdateFlag == DT_DELETE)
211 SetText(_T(""));
212 else if (m_nDTUpdateFlag == DT_UPDATE)
213 {
214 CDuiString sText;
215 sText.SmallFormat(_T("%4d-%02d-%02d"),
216 m_sysTime.wYear, m_sysTime.wMonth, m_sysTime.wDay, m_sysTime.wHour, m_sysTime.wMinute);
217 SetText(sText);
218 }
219 }
220
221 void CDateTimeUI::DoEvent(TEventUI& event)
222 {

Callers 2

HandleMessageMethod · 0.80
OnKillFocusMethod · 0.80

Calls 1

SmallFormatMethod · 0.80

Tested by

no test coverage detected