MiniGUI API Reference (MiniGUI-Processes)  v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Data Structures | Macros | Typedefs
monthcal.h File Reference

Go to the source code of this file.

Data Structures

struct  _SYSTEMTIME
 
struct  _MCCOLORINFO
 

Macros

#define CTRL_MONTHCALENDAR   ("MonthCalendar")
 The class name of monthcalendar control. More...
 
#define MCS_CHN   0x0001L
 Displays chinese label. More...
 
#define MCS_ENG_L   0x0002L
 Displays long english label. More...
 
#define MCS_ENG_S   0x0003L
 Displays short english label. More...
 
#define MCS_NOTIFY   0x0004L
 Notifies the parent window when something happens. More...
 
#define MCS_NOYEARMON   0x0008L
 Do not show year and month. More...
 
#define MCM_GETCURDAY   0xF300
 Get the day number of the current selected date. More...
 
#define MCM_GETCURMONTH   0xF301
 Get the month number of the current selected date. More...
 
#define MCM_GETCURYEAR   0xF302
 Get the year number of the current selected date. More...
 
#define MCM_GETCURWEEKDAY   0xF303
 Get the weekday number of the current selected date. More...
 
#define MCM_GETCURMONLEN   0xF304
 Get the month length of the current selected date. More...
 
#define MCM_SETCURDAY   0xF305
 Changes the day of the currently selected date. More...
 
#define MCM_SETCURMONTH   0xF306
 Changes the month of the currently selected date. More...
 
#define MCM_SETCURYEAR   0xF307
 Changes the year of the currently selected date. More...
 
#define MCM_SETTODAY   0xF308
 Set the currently selected date as the date of "today". More...
 
#define MCM_GETFIRSTWEEKDAY   0xF309
 Get the weekday of the first day of this month. More...
 
#define MCM_GETCURDATE   0xF310
 Get the currently selected date. More...
 
#define MCM_GETTODAY   0xF311
 Get the date of "today". More...
 
#define MCM_GETMINREQRECTW   0xF312
 Get the minimum width required to display a full month in a month calendar control. More...
 
#define MCM_GETMINREQRECTH   0xF313
 Get the minimum height required to display a full month in a month calendar control. More...
 
#define MCM_SETCURDATE   0xF314
 Set the currently selected date. More...
 
#define MCM_SETCOLOR   0xF315
 Set the color of the monthcalendar control. More...
 
#define MCM_GETCOLOR   0xF316
 Get the color of the monthcalendar control. More...
 
#define MCM_SETDAYCOLOR   0xF317
 Set the color of a specified date . More...
 
#define MCM_CLEARDAYCOLOR   0xF318
 Clears the color of a specified month view . More...
 
#define MCN_DATECHANGE   1
 Notifies that the currently selected date is changed. More...
 

Typedefs

typedef struct _SYSTEMTIME SYSTEMTIME
 
typedef SYSTEMTIMEPSYSTEMTIME
 Data type of the pointer to a SYSTEMTIME. More...
 
typedef struct _MCCOLORINFO MCCOLORINFO
 
typedef MCCOLORINFOPMCCOLORINFO
 Data type of the pointer to a MCCOLORINFO. More...
 

Detailed Description

Author
Wei Yongming vince.nosp@m.nt@m.nosp@m.inigu.nosp@m.i.or.nosp@m.g
Date
2002/01/06
   This file is part of MiniGUI, a mature cross-platform windowing
   and Graphics User Interface (GUI) support system for embedded systems
   and smart IoT devices.

   Copyright (C) 2002~2018, Beijing FMSoft Technologies Co., Ltd.
   Copyright (C) 1998~2002, WEI Yongming

   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.

   Or,

   As this program is a library, any link to this program must follow
   GNU General Public License version 3 (GPLv3). If you cannot accept
   GPLv3, you need to be licensed from FMSoft.

   If you have got a commercial license of this program, please use it
   under the terms and conditions of the commercial license.

   For more information about the commercial license, please refer to
   <http://www.minigui.com/blog/minigui-licensing-policy/>.

Definition in file monthcal.h.