monthcal.h

Go to the documentation of this file.
00001 
00019 /*
00020  * $Id: monthcal.h 10690 2008-08-18 09:32:47Z weiym $
00021  *
00022  *             MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks, 
00023  *                     pSOS, ThreadX, NuCleus, OSE, and Win32.
00024  *
00025  *             Copyright (C) 2002-2008 Feynman Software.
00026  *             Copyright (C) 1998-2002 Wei Yongming.
00027  */
00028 
00029 #ifndef EXT_MONTHCAL_H
00030 #define EXT_MONTHCAL_H
00031 
00032 
00033 #ifdef  __cplusplus
00034 extern "C" {
00035 #endif
00036 
00051 #define CTRL_MONTHCALENDAR     ("MonthCalendar")
00052 
00054 typedef struct _SYSTEMTIME
00055 {
00057     int year;
00059     int month;
00061     int day;
00063     int weekday;
00064 } SYSTEMTIME;
00069 typedef SYSTEMTIME *PSYSTEMTIME;
00070 
00072 typedef struct _MCCOLORINFO
00073 {
00075     int clr_titlebk;
00077     int clr_titletext;
00079     int clr_arrow;
00081     int clr_arrowHibk;
00082 
00084     int clr_weekcaptbk;
00086     int clr_weekcapttext;
00087 
00089     int clr_daybk;
00091     int clr_dayHibk;
00093     int clr_daytext;
00095     int clr_trailingtext;
00097     int clr_dayHitext;
00098 } MCCOLORINFO;
00099 
00104 typedef MCCOLORINFO *PMCCOLORINFO;
00105 
00114 #define MCS_CHN                 0x0001L
00115 
00120 #define MCS_ENG_L               0x0002L
00121 
00126 #define MCS_ENG_S               0x0003L
00127 
00132 #define MCS_NOTIFY              0x0004L
00133 
00138 #define MCS_NOYEARMON           0x0008L
00139 
00160 #define MCM_GETCURDAY           0xF300
00161 
00175 #define MCM_GETCURMONTH         0xF301
00176 
00190 #define MCM_GETCURYEAR          0xF302
00191 
00205 #define MCM_GETCURWEEKDAY       0xF303
00206 
00220 #define MCM_GETCURMONLEN        0xF304
00221 
00236 #define MCM_SETCURDAY           0xF305
00237 
00252 #define MCM_SETCURMONTH         0xF306
00253 
00268 #define MCM_SETCURYEAR          0xF307
00269 
00281 #define MCM_SETTODAY            0xF308
00282 
00296 #define MCM_GETFIRSTWEEKDAY     0xF309
00297 
00312 #define MCM_GETCURDATE          0xF310
00313 
00329 #define MCM_GETTODAY            0xF311
00330 
00345 #define MCM_GETMINREQRECTW      0xF312
00346 
00361 #define MCM_GETMINREQRECTH      0xF313
00362 
00378 #define MCM_SETCURDATE          0xF314
00379 
00395 #define MCM_SETCOLOR            0xF315
00396 
00411 #define MCM_GETCOLOR            0xF316
00412 
00429 #define MCM_SETDAYCOLOR          0xF317
00430 
00442 #define MCM_CLEARDAYCOLOR        0xF318
00443 
00444 
00456 #define MCN_DATECHANGE          1
00457 /*#define MCN_DAYCHANGE           2 */
00458 #define MCN_DATECLK             3
00459 
00465 #ifdef  __cplusplus
00466 }
00467 #endif
00468 
00469 #endif /* EXT_MONTHCAL_H */
00470 
Generated on Thu Apr 7 15:55:29 2011 for MiniGUI V3.0.12 API Reference by  doxygen 1.6.3