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
The messages you need are DTM_GETSYSTEMTIME and DTM_SETSYSTEMTIME (or their corresponding macros) which operate using SYSTEMTIME structs.
SYSTEMTIME