Hello,
I actual now nothing about API programming :? , so I hope this question will help me to understand. How can I set the control to a specific date and the checkbox (if choosen) to marked or not marked? And read out the new values given by a user? Is there someone who could give me a short code example?
Is somewhere a documentation available, who explains the API programming with Powerbasic?
Get Value in control:
SendMessage(HWND_DATETIME, %DTM_GETSYSTEMTIME, 0, VARPTR(SysTimeVariable))
%DTM_SETSYSTEMTIME to set it (See MSDN online)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/datetime/messages/dtm_getsystemtime.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/datetime/messages/dtm_setsystemtime.asp
Roger,
thank you for the reply.