Getting and setting date in DATETIMEPICK_CLASS element

后端 未结 1 588
囚心锁ツ
囚心锁ツ 2021-01-28 19:42

I am creating time picker element described here. I am writing code in C++ using simple winapi calls

I cannot find any examples of how to actually get and set time withi

1条回答
  •  青春惊慌失措
    2021-01-28 20:26

    The messages you need are DTM_GETSYSTEMTIME and DTM_SETSYSTEMTIME (or their corresponding macros) which operate using SYSTEMTIME structs.

    0 讨论(0)
提交回复
热议问题