Commit 087ba42b authored by Chris Morgan's avatar Chris Morgan Committed by Alexandre Julliard

Added 3D border around control. Fixed monthcal control popup. Added

WM_SIZE support. Optimized drawing. Added WM_LBUTTONUP handling. Handle DTS_RIGHTALIGN style. Fixed handling of formatting styles, date is now displayed properly for DTS_SHORTDATEFORMAT.
parent 043c3e79
......@@ -18,9 +18,11 @@ typedef struct tagDATETIME_INFO
SYSTEMTIME date;
BOOL dateValid;
HWND hwndCheckbut;
RECT rect;
RECT checkbox;
RECT calbutton;
RECT rcClient; /* rect around the edge of the window */
RECT rcDraw; /* rect inside of the border */
RECT checkbox; /* checkbox allowing the control to be enabled/disabled */
RECT calbutton; /* button that toggles the dropdown of the monthcal control */
BOOL bCalDepressed; /* TRUE = cal button is depressed */
int select;
HFONT hFont;
int nrFieldsAllocated;
......@@ -30,6 +32,7 @@ typedef struct tagDATETIME_INFO
RECT *fieldRect;
int *buflen;
char textbuf[256];
POINT monthcal_pos;
} DATETIME_INFO, *LPDATETIME_INFO;
extern VOID DATETIME_Register (VOID);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment