MiniGUI API Reference (MiniGUI-Standalone)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
monthcal.h
Go to the documentation of this file.
1 
43 /*
44  * $Id: monthcal.h 10690 2008-08-18 09:32:47Z weiym $
45  *
46  * MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks,
47  * pSOS, ThreadX, NuCleus, OSE, and Win32.
48  */
49 
50 #ifndef EXT_MONTHCAL_H
51 #define EXT_MONTHCAL_H
52 
53 
54 #ifdef __cplusplus
55 extern "C" {
56 #endif
57 
72 #define CTRL_MONTHCALENDAR ("MonthCalendar")
73 
75 typedef struct _SYSTEMTIME
76 {
78  int year;
80  int month;
82  int day;
84  int weekday;
85 } SYSTEMTIME;
91 
93 typedef struct _MCCOLORINFO
94 {
103 
108 
119 } MCCOLORINFO;
120 
126 
135 #define MCS_CHN 0x0001L
136 
141 #define MCS_ENG_L 0x0002L
142 
147 #define MCS_ENG_S 0x0003L
148 
153 #define MCS_NOTIFY 0x0004L
154 
159 #define MCS_NOYEARMON 0x0008L
160 
181 #define MCM_GETCURDAY 0xF300
182 
196 #define MCM_GETCURMONTH 0xF301
197 
211 #define MCM_GETCURYEAR 0xF302
212 
226 #define MCM_GETCURWEEKDAY 0xF303
227 
241 #define MCM_GETCURMONLEN 0xF304
242 
257 #define MCM_SETCURDAY 0xF305
258 
273 #define MCM_SETCURMONTH 0xF306
274 
289 #define MCM_SETCURYEAR 0xF307
290 
302 #define MCM_SETTODAY 0xF308
303 
317 #define MCM_GETFIRSTWEEKDAY 0xF309
318 
333 #define MCM_GETCURDATE 0xF310
334 
350 #define MCM_GETTODAY 0xF311
351 
366 #define MCM_GETMINREQRECTW 0xF312
367 
382 #define MCM_GETMINREQRECTH 0xF313
383 
399 #define MCM_SETCURDATE 0xF314
400 
416 #define MCM_SETCOLOR 0xF315
417 
432 #define MCM_GETCOLOR 0xF316
433 
450 #define MCM_SETDAYCOLOR 0xF317
451 
463 #define MCM_CLEARDAYCOLOR 0xF318
464 
465 
477 #define MCN_DATECHANGE 1
478 /*#define MCN_DAYCHANGE 2 */
479 #define MCN_DATECLK 3
480 
486 #ifdef __cplusplus
487 }
488 #endif
489 
490 #endif /* EXT_MONTHCAL_H */
491 
int clr_daybk
Definition: monthcal.h:110
int month
Definition: monthcal.h:80
int clr_weekcaptbk
Definition: monthcal.h:105
struct _MCCOLORINFO MCCOLORINFO
int clr_dayHibk
Definition: monthcal.h:112
int clr_trailingtext
Definition: monthcal.h:116
int clr_weekcapttext
Definition: monthcal.h:107
int clr_daytext
Definition: monthcal.h:114
SYSTEMTIME * PSYSTEMTIME
Data type of the pointer to a SYSTEMTIME.
Definition: monthcal.h:90
int clr_dayHitext
Definition: monthcal.h:118
int clr_titlebk
Definition: monthcal.h:96
struct _SYSTEMTIME SYSTEMTIME
int clr_arrowHibk
Definition: monthcal.h:102
int weekday
Definition: monthcal.h:84
int year
Definition: monthcal.h:78
int clr_arrow
Definition: monthcal.h:100
int clr_titletext
Definition: monthcal.h:98
MCCOLORINFO * PMCCOLORINFO
Data type of the pointer to a MCCOLORINFO.
Definition: monthcal.h:125