include: Added missing DateTime_* defines.
Also defines struct DATETIMEPICKERINFO needed for #defines. Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c388eec1a9
commit
10cc933715
|
@ -5054,6 +5054,17 @@ typedef struct tagNMDATETIMEFORMATQUERYW
|
||||||
DECL_WINELIB_TYPE_AW(NMDATETIMEFORMATQUERY)
|
DECL_WINELIB_TYPE_AW(NMDATETIMEFORMATQUERY)
|
||||||
DECL_WINELIB_TYPE_AW(LPNMDATETIMEFORMATQUERY)
|
DECL_WINELIB_TYPE_AW(LPNMDATETIMEFORMATQUERY)
|
||||||
|
|
||||||
|
typedef struct tagDATETIMEPICKERINFO
|
||||||
|
{
|
||||||
|
DWORD cbSize;
|
||||||
|
RECT rcCheck;
|
||||||
|
DWORD stateCheck;
|
||||||
|
RECT rcButton;
|
||||||
|
DWORD stateButton;
|
||||||
|
HWND hwndEdit;
|
||||||
|
HWND hwndUD;
|
||||||
|
HWND hwndDropDown;
|
||||||
|
} DATETIMEPICKERINFO, *LPDATETIMEPICKERINFO;
|
||||||
|
|
||||||
|
|
||||||
#define GDT_ERROR -1
|
#define GDT_ERROR -1
|
||||||
|
@ -5089,6 +5100,14 @@ DECL_WINELIB_TYPE_AW(LPNMDATETIMEFORMATQUERY)
|
||||||
SNDMSG (hdp, DTM_GETMCFONT, 0, 0)
|
SNDMSG (hdp, DTM_GETMCFONT, 0, 0)
|
||||||
#define DateTime_GetIdealSize(hdp, sz) \
|
#define DateTime_GetIdealSize(hdp, sz) \
|
||||||
(BOOL) SNDMSG (hdp, DTM_GETIDEALSIZE, 0, (LPARAM)sz)
|
(BOOL) SNDMSG (hdp, DTM_GETIDEALSIZE, 0, (LPARAM)sz)
|
||||||
|
#define DateTime_SetMonthCalStyle(hdp, style) \
|
||||||
|
SNDMSG(hdp, DTM_SETMCSTYLE, 0, (LPARAM)style)
|
||||||
|
#define DateTime_GetMonthCalStyle(hdp) \
|
||||||
|
SNDMSG(hdp, DTM_GETMCSTYLE, 0, 0)
|
||||||
|
#define DateTime_GetDateTimePickerInfo(hdp, info) \
|
||||||
|
SNDMSG(hdp, DTM_GETDATETIMEPICKERINFO, 0, (LPARAM)info)
|
||||||
|
#define DateTime_CloseMonthCal(hdp) \
|
||||||
|
SNDMSG(hdp, DTM_CLOSEMONTHCAL, 0, 0)
|
||||||
|
|
||||||
#define DA_LAST (0x7fffffff)
|
#define DA_LAST (0x7fffffff)
|
||||||
#define DPA_APPEND (0x7fffffff)
|
#define DPA_APPEND (0x7fffffff)
|
||||||
|
|
Loading…
Reference in New Issue