Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Date Dialog
#8
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)