News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

SysDateTimePick32

Started by six_L, March 17, 2008, 01:41:56 AM

Previous topic - Next topic

six_L

szDate db "2004-12-3",0
...
invoke SetDlgItemText,hWnd, IDC_DATE,addr szDate

the DatePick shows today forever.
how do set the DatePick to be someday?
regards

farrier

six_L,

Use SendMessage with

DTM_SETSYSTEMTIME

to set the contents of the control.  Use the other DTM_ messages to do other things with the control.

hth,

farrier
It is a GOOD day to code!
Some assembly required!
ASM me!
With every mistake, we must surely be learning. (George...Bush)

six_L

Hello,farrier
Thank you very much.
regards