MiniGUI API Reference (MiniGUI-Processes)  v3.2.0
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
 Gets the day number of the current selected date. More...
 
#define MCM_GETCURMONTH   0xF301
 Gets the month number of the current selected date. More...
 
#define MCM_GETCURYEAR   0xF302
 Gets the year number of the current selected date. More...
 
#define MCM_GETCURWEEKDAY   0xF303
 Gets the weekday number of the current selected date. More...
 
#define MCM_GETCURMONLEN   0xF304
 Gets 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
 Sets the currently selected date as the date of "today". More...
 
#define MCM_GETFIRSTWEEKDAY   0xF309
 Gets the weekday of the first day of this month. More...
 
#define MCM_GETCURDATE   0xF310
 Gets the currently selected date. More...
 
#define MCM_GETTODAY   0xF311
 Gets the date of "today". More...
 
#define MCM_GETMINREQRECTW   0xF312
 Gets the minimum width required to display a full month in a month calendar control. More...
 
#define MCM_GETMINREQRECTH   0xF313
 Gets the minimum height required to display a full month in a month calendar control. More...
 
#define MCM_SETCURDATE   0xF314
 Sets the currently selected date. More...
 
#define MCM_SETCOLOR   0xF315
 Sets the color of the monthcalendar control. More...
 
#define MCM_GETCOLOR   0xF316
 Gets the color of the monthcalendar control. More...
 
#define MCM_SETDAYCOLOR   0xF317
 Sets 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/en/about/licensing-policy/>.

Definition in file monthcal.h.