Page 1 of 1

Posted: Wed Feb 19, 2003 12:41 pm
by BackupUser
Restored from previous forum. Originally posted by Manolo.

Hi,
The problem is. How I send a new date to SysDateTimePick32?

I don't have problem with the read -- Date.s=CalendarDate(Gadget)
but I need change the data from another one.

Regards,
Manolo

Posted: Wed Feb 19, 2003 12:52 pm
by BackupUser
Restored from previous forum. Originally posted by freak.

Code: Select all

#DTM_SETSYSTEMTIME = $1002
#GDT_VALID = 0

SysTime.SYSTEMTIME
SysTime\wDay = 19
SysTime\wMonth = 2
SysTime\wYear = 2003

SendMessage_(hWnd_Gadget, #DTM_SETSYSTEMTIME, #GDT_VALID, @SysTime)
You can see the Members of the SYSTEMTIME Structure in the Structure Viewer.#

Timo

Posted: Wed Feb 19, 2003 5:53 pm
by BackupUser
Restored from previous forum. Originally posted by Manolo.

Thanks freak