9#if !defined(OWL_MONTHCAL_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
77 void SetColor(TColors index,
const TColor&
clr);
78 TColor GetColor(TColors index)
const;
83 bool SetFirstDayOfWeek(TDaysOfWeek
day);
84 TDaysOfWeek GetFirstDayOfWeek(
bool*
local = 0)
const;
86 bool SetMaxSelCount(
int count);
87 int GetMaxSelCount()
const;
89 int GetMaxTodayWidth()
const;
91 bool GetMinReqRect(
TRect&
rc)
const;
93 int SetMonthDelta(
int delta);
94 int GetMonthDelta()
const;
109 bool IsUnicode()
const;
110 void SetUnicode(
bool unicode =
true);
#define PRECONDITION(condition)
Class wrapper for management of color values.
TControl unifies its derived control classes, such as TScrollBar, TControlGadget, and TButton.
MonthCalendar Control notifications.
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
TColor GetColor(TColors index) const
void SetToday(const TSystemTime &today)
bool SetFirstDayOfWeek(TDaysOfWeek day)
void SetColor(TColors index, const TColor &clr)
int GetMaxTodayWidth() const
TDaysOfWeek GetFirstDayOfWeek(bool *local=0) const
uint Transfer(TMonthCalendarData &data, TTransferDirection direction)
Safe overload.
bool GetCurSel(TSystemTime &tm) const
bool SetMaxSelCount(int count)
bool GetToday(TSystemTime &today) const
bool GetMinReqRect(TRect &rc) const
int SetMonthDelta(int delta)
bool SetCurSel(const TSystemTime &tm)
int GetMonthDelta() const
bool SetDayState(int months, LPMONTHDAYSTATE states)
uint32 HitTest(TMCHitTestInfo &hitinfo)
void SetUnicode(bool unicode=true)
int GetMaxSelCount() const
TRect is a mathematical class derived from tagRect.
TSystemTime is a class derived from the structure SYSTEMTIME.
Type-safe encapsulation of a Windows class name, a union between ATOM and LPCTSTR.
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
uint32 GetStyle() const
Gets the style bits of the underlying window or the 'Style' member of the attribute structure associa...
TResult SendMessage(TMsgId, TParam1=0, TParam2=0) const
Sends a message (msg) to a specified window or windows.
HWND GetHandle() const
Returns the handle of the window.
Definition of classes for CommonControl encapsulation.
Definition of class TControl.
TTransferDirection
The TTransferDirection enum describes the constants that the transfer function uses to determine how ...
Object Windows Library (OWLNext Core)
uint16 HiUint16(LRESULT r)
LPARAM TParam2
Second parameter type.
WPARAM TParam1
First parameter type.
uint16 LoUint16(LRESULT r)
#define CONST_CAST(targetType, object)
TMonthCalendarData(const TSystemTime &minsel, const TSystemTime &maxsel)
TMonthCalendarData(const TSystemTime &cursel)