Fixed RGBQUAD/COLORREF mixup in CreateMappedBitmap().
[wine.git] / include / datetime.h
blob28ecd7013d2501c9f2f220e26177c0c303c22bcd
1 /*
2 * Date and time picker class extra info
4 * Copyright 1998 Eric Kohl
5 * Copyright 1999 Alex Priem
6 */
8 #ifndef __WINE_DATETIME_H
9 #define __WINE_DATETIME_H
11 #include "windef.h"
13 typedef struct tagDATETIME_INFO
15 HWND hMonthCal;
16 HWND hUpdown;
17 SYSTEMTIME date;
18 BOOL dateValid;
19 HWND hwndCheckbut;
20 RECT rect;
21 RECT checkbox;
22 RECT daytxt;
23 RECT daynumtxt;
24 RECT rmonthtxt;
25 RECT yeartxt;
26 RECT calbutton;
27 int select;
28 HFONT hFont;
29 } DATETIME_INFO, *LPDATETIME_INFO;
31 extern VOID DATETIME_Register (VOID);
32 extern VOID DATETIME_Unregister (VOID);
34 #define DTHT_NONE 0
35 #define DTHT_MCPOPUP 1
36 #define DTHT_YEAR 2
37 #define DTHT_DAYNUM 3
38 #define DTHT_MONTH 4
39 #define DTHT_DAY 5
40 #define DTHT_CHECKBOX 6
41 #define DTHT_GOTFOCUS 128
43 #endif /* __WINE_DATETIME_H */