ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

monthcal.c File Reference
#include <timedate.h>

Go to the source code of this file.

Data Structures

struct  PMONTHCALWND

Defines

#define MONTHCAL_HEADERBG   COLOR_INACTIVECAPTION
#define MONTHCAL_HEADERFG   COLOR_INACTIVECAPTIONTEXT
#define MONTHCAL_CTRLBG   COLOR_WINDOW
#define MONTHCAL_CTRLFG   COLOR_WINDOWTEXT
#define MONTHCAL_SELBG   COLOR_ACTIVECAPTION
#define MONTHCAL_SELFG   COLOR_CAPTIONTEXT
#define MONTHCAL_DISABLED_HEADERBG   COLOR_INACTIVECAPTION
#define MONTHCAL_DISABLED_HEADERFG   COLOR_INACTIVECAPTIONTEXT
#define MONTHCAL_DISABLED_CTRLBG   COLOR_WINDOW
#define MONTHCAL_DISABLED_CTRLFG   COLOR_WINDOWTEXT
#define MONTHCAL_DISABLED_SELBG   COLOR_INACTIVECAPTION
#define MONTHCAL_DISABLED_SELFG   COLOR_INACTIVECAPTIONTEXT
#define ID_DAYTIMER   1

Functions

static LRESULT MonthCalNotifyControlParent (IN PMONTHCALWND infoPtr, IN UINT code, IN OUT PVOID data)
static WORD LeapYear (IN WORD Year)
static WORD MonthCalMonthLength (IN WORD Month, IN WORD Year)
static WORD MonthCalWeekInMonth (IN WORD Day, IN WORD DayOfWeek)
static WORD MonthCalDayOfWeek (IN PMONTHCALWND infoPtr, IN WORD Day, IN WORD Month, IN WORD Year)
static WORD MonthCalFirstDayOfWeek (VOID)
static BOOL MonthCalValidDate (IN WORD Day, IN WORD Month, IN WORD Year)
static VOID MonthCalUpdate (IN PMONTHCALWND infoPtr)
static VOID MonthCalSetupDayTimer (IN PMONTHCALWND infoPtr)
static VOID MonthCalReload (IN PMONTHCALWND infoPtr)
static BOOL MonthCalGetDayRect (IN PMONTHCALWND infoPtr, IN WORD Day, OUT RECT *rcCell)
static VOID MonthCalChange (IN PMONTHCALWND infoPtr)
static BOOL MonthCalSetDate (IN PMONTHCALWND infoPtr, IN WORD Day, IN WORD Month, IN WORD Year)
static VOID MonthCalSetLocalTime (IN PMONTHCALWND infoPtr, OUT SYSTEMTIME *Time)
static VOID MonthCalRepaintDay (IN PMONTHCALWND infoPtr, IN WORD Day)
static VOID MonthCalPaint (IN PMONTHCALWND infoPtr, IN HDC hDC, IN LPRECT prcUpdate)
static HFONT MonthCalChangeFont (IN PMONTHCALWND infoPtr, IN HFONT hFont, IN BOOL Redraw)
static WORD MonthCalPtToDay (IN PMONTHCALWND infoPtr, IN INT x, IN INT y)
static LRESULT CALLBACK MonthCalWndProc (IN HWND hwnd, IN UINT uMsg, IN WPARAM wParam, IN LPARAM lParam)
BOOL RegisterMonthCalControl (IN HINSTANCE hInstance)
VOID UnregisterMonthCalControl (IN HINSTANCE hInstance)

Variables

static const WCHAR szMonthCalWndClass [] = "MonthCalWnd"

Generated on Sat May 26 2012 04:59:31 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.