TYPE SYSTEMTIME
wYear AS WORD
wMonth AS WORD
wDayOfWeek AS WORD
wDay AS WORD
wHour AS WORD
wMinute AS WORD
wSecond AS WORD
wMilliseconds AS WORD
END TYPE
DECLARE FUNCTION SendMessageSysTime LIB "user32" ALIAS "SendMessageA" (HWND AS LONG, message AS LONG, WPARAM AS LONG, BYREF LPARAM AS SYSTEMTIME) AS LONG
CONST MCM_GETCURSEL = &H1001
DIM time AS SYSTEMTIME
DIM handle AS LONG
SendMessage(handle, MCM_GETCURSEL, 0, time)
|