Messages of monthcalendar control
[MonthCalendar control]

Defines


Define Documentation

#define MCM_CLEARDAYCOLOR   0xF318

Clears the color of a specified month view .

 MCM_CLEARDAYCOLOR

 wParam = 0;
 lParam = 0;

Definition at line 442 of file monthcal.h.

#define MCM_GETCOLOR   0xF316

Gets the color of the monthcalendar control.

 MCM_GETCOLOR
 PMCCOLORINFO color;

 wParam = 0;
 lParam = (LPARAM)color;
Parameters:
color Pointer to the MCCOLORINFO structure retreiving the color info.

Definition at line 411 of file monthcal.h.

#define MCM_GETCURDATE   0xF310

Gets the currently selected date.

 MCM_GETCURDATE
 PSYSTEMTIME pcurdate;

 wParam = 0;
 lParam = (LPARAM)pcurdate;
Parameters:
pcurdate Pointer to the SYSTEMTIME structure to retreive the date.

Definition at line 312 of file monthcal.h.

#define MCM_GETCURDAY   0xF300

Gets the day number of the current selected date.

 MCM_GETCURDAY

 wParam = 0;
 lParam = 0;
Returns:
The day number of the current selected date.

Definition at line 160 of file monthcal.h.

#define MCM_GETCURMONLEN   0xF304

Gets the month length of the current selected date.

 MCM_GETCURMONLEN

 wParam = 0;
 lParam = 0;
Returns:
The month length of the current selected date.

Definition at line 220 of file monthcal.h.

#define MCM_GETCURMONTH   0xF301

Gets the month number of the current selected date.

 MCM_GETCURMONTH

 wParam = 0;
 lParam = 0;
Returns:
The month number of the current selected date.

Definition at line 175 of file monthcal.h.

#define MCM_GETCURWEEKDAY   0xF303

Gets the weekday number of the current selected date.

 MCM_GETCURWEEKDAY

 wParam = 0;
 lParam = 0;
Returns:
The weekday number of the current selected date.

Definition at line 205 of file monthcal.h.

#define MCM_GETCURYEAR   0xF302

Gets the year number of the current selected date.

 MCM_GETCURYEAR

 wParam = 0;
 lParam = 0;
Returns:
The year number of the current selected date.

Definition at line 190 of file monthcal.h.

#define MCM_GETFIRSTWEEKDAY   0xF309

Gets the weekday of the first day of this month.

 MCM_GETFIRSTWEEKDAY

 wParam = 0;
 lParam = 0;
Returns:
The weekday of the first day.

Definition at line 296 of file monthcal.h.

#define MCM_GETMINREQRECTH   0xF313

Gets the minimum height required to display a full month in a month calendar control.

 MCM_GETMINREQRECTH

 wParam = 0;
 lParam = 0;
Returns:
The minimum height required to dispaly a full month.

Definition at line 361 of file monthcal.h.

#define MCM_GETMINREQRECTW   0xF312

Gets the minimum width required to display a full month in a month calendar control.

 MCM_GETMINREQRECTW

 wParam = 0;
 lParam = 0;
Returns:
The minimum width required to dispaly a full month.

Definition at line 345 of file monthcal.h.

#define MCM_GETTODAY   0xF311

Gets the date of "today".

 MCM_GETTODAY
 PSYSTEMTIME pcurdate;

 wParam = 0;
 lParam = (LPARAM)pcurdate;
Parameters:
pcurdate Pointer to the SYSTEMTIME structure to retreive the date of "today".

Definition at line 329 of file monthcal.h.

#define MCM_SETCOLOR   0xF315

Sets the color of the monthcalendar control.

 MCM_SETCOLOR
 PMCCOLORINFO newcolor;

 wParam = 0;
 lParam = (LPARAM)newcolor;
Parameters:
newcolor Pointer to the MCCOLORINFO structure storing the vaules of the new color info.

Definition at line 395 of file monthcal.h.

#define MCM_SETCURDATE   0xF314

Sets the currently selected date.

 MCM_SETCURDATE
 PSYSTEMTIME pcurdate;

 wParam = 0;
 lParam = (LPARAM)pcurdate;
Parameters:
pcurdate Pointer to the SYSTEMTIME structure storing the values of the current selected date.

Definition at line 378 of file monthcal.h.

#define MCM_SETCURDAY   0xF305

Changes the day of the currently selected date.

 MCM_SETCURDAY
 int newday;

 wParam = (WPARAM)newday;
 lParam = 0;
Parameters:
newday The new day number of the currently selected date.

Definition at line 236 of file monthcal.h.

#define MCM_SETCURMONTH   0xF306

Changes the month of the currently selected date.

 MCM_SETCURMONTH
 int newmonth;

 wParam = (WPARAM)newmonth;
 lParam = 0;
Parameters:
newmonth The new month number of the currently selected date.

Definition at line 252 of file monthcal.h.

#define MCM_SETCURYEAR   0xF307

Changes the year of the currently selected date.

 MCM_SETCURYEAR
 int newyear;

 wParam = (WPARAM)newyear;
 lParam = 0;
Parameters:
newyear The new year number of the currently selected date.

Definition at line 268 of file monthcal.h.

#define MCM_SETDAYCOLOR   0xF317

Sets the color of a specified date .

 MCM_SETDAYCOLOR
 int day;
 int color;

 wParam = day;
 lParam = color;
Parameters:
day Month day to set color
color Pixel color.

Definition at line 429 of file monthcal.h.

#define MCM_SETTODAY   0xF308

Sets the currently selected date as the date of "today".

 MCM_SETTODAY

 wParam = 0;
 lParam = 0;

Definition at line 281 of file monthcal.h.

Generated on Thu Apr 7 16:01:46 2011 for MiniGUI V3.0.12 API Reference by  doxygen 1.6.3