News:

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

Calendar Control

Started by xdnlq21, July 04, 2006, 09:38:23 AM

Previous topic - Next topic

xdnlq21

Can anyone explain how the calendar control in easy code works?

Ramon Sala

Hi xdnlq21,

You can work with the Calendar control by sending it messages. Messages available in MSDN library are the following:

MCM_GETCOLOR, MCM_GETCURSEL, MCM_GETFIRSTDAYOFWEEK, MCM_GETMAXSELCOUNT, MCM_GETMAXTODAYWIDTH, MCM_GETMINREQRECT, MCM_GETMONTHDELTA, MCM_GETMONTHRANGE, MCM_GETRANGE, MCM_GETSELRANGE, MCM_GETTODAY, MCM_GETUNICODEFORMAT, MCM_HITTEST, MCM_SETCOLOR, MCM_SETCURSEL, MCM_SETDAYSTATE, MCM_SETFIRSTDAYOFWEEK, MCM_SETMAXSELCOUNT, MCM_SETMONTHDELTA, MCM_SETRANGE, MCM_SETSELRANGE, MCM_SETTODAY and MCM_SETUNICODEFORMAT.

Also there are some notification messages sent by the control to its parent (MCN_SELCHANGE, MCN_SELCHANGE, etc.) through the WM_NOTIFY message. For more information, see the MSDN help.

Regards,

Ramon
Greetings from Catalonia