34 BOOL
getCreateWindowOptions(wstring& title, UINT& widownStyles, wstring& wndClassName, BOOL& isCustomWndProc)
override;
HWND WinHandle
Definition Common.h:16
A UI component for displaying and interacting with calendar dates.
Definition Calendar.h:29
Component()
Constructs a new Component instance.
void onMousePressed(WinHandle hWnd, int x, int y, int clickCount, BOOL shiftPressed, BOOL ctrlPressed)
Handles mouse press events.
void onWindowMoved()
Called when the window containing the control is moved.
void onWindowResized()
Called when the window containing the control is resized.
DateTimePicker()
Constructs a new DateTimePicker component.
void setSelectedDate(const wstring &dateTimeYYYYMMDD)
Sets the selected date.
BOOL getCreateWindowOptions(wstring &title, UINT &widownStyles, wstring &wndClassName, BOOL &isCustomWndProc) override
Provides window creation options specific to the DateTimePicker control.
void onSelectionChanged(const SelectionChangeEvent &ev)
Responds to selection changes triggered by internal components like CheckList.
int getPreferredHeight()
Returns the preferred height.
virtual ~DateTimePicker()
Destructor.
wstring getSelectedDate()
Retrieves the currently selected date.
void addSelectionChangedListener(SelectionChangeListener *l)
Adds a listener to be notified when the selection changes.
void windowCreated() override
Called after the native window has been created.
void onPaint(Graphics *g)
Renders the CheckComboBox.
Definition Graphics.h:161
Definition EventListeners.h:22
Definition EventListeners.h:31