10-23-2005, 12:11 AM
Sorry Gintaras, I must be missing something. My macro now looks like this:
def MCM_FIRST 0x1000
def MCM_SETCURSEL (MCM_FIRST + 2)
DATE d="5/5/2005"
d.tosystemtime(+share)
int mc=win("" "msvb_lib_monthview")
SendMessage mc MCM_SETCURSEL 0 share(mc)
key LR
I open the date-picker control by clicking the down arrow right of the date field. The calendar pops up representing today's date, same as the text. I run the macro and the date on the calendar changes accordingly, but the text date remains today's date. So I close the calendar by clicking the right arrow once again, and the calendar goes away leaving today's date still in the text field.
def MCM_FIRST 0x1000
def MCM_SETCURSEL (MCM_FIRST + 2)
DATE d="5/5/2005"
d.tosystemtime(+share)
int mc=win("" "msvb_lib_monthview")
SendMessage mc MCM_SETCURSEL 0 share(mc)
key LR
I open the date-picker control by clicking the down arrow right of the date field. The calendar pops up representing today's date, same as the text. I run the macro and the date on the calendar changes accordingly, but the text date remains today's date. So I close the calendar by clicking the right arrow once again, and the calendar goes away leaving today's date still in the text field.