1998-11-08 12:30:27 +01:00
|
|
|
/*
|
|
|
|
* Date and time picker class extra info
|
|
|
|
*
|
|
|
|
* Copyright 1998 Eric Kohl
|
1999-07-31 13:12:45 +02:00
|
|
|
* Copyright 1999 Alex Priem
|
1998-11-08 12:30:27 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_DATETIME_H
|
|
|
|
#define __WINE_DATETIME_H
|
|
|
|
|
1999-06-26 16:58:24 +02:00
|
|
|
#include "windef.h"
|
|
|
|
|
1998-11-08 12:30:27 +01:00
|
|
|
typedef struct tagDATETIME_INFO
|
|
|
|
{
|
1999-07-31 13:12:45 +02:00
|
|
|
HWND hMonthCal;
|
|
|
|
HWND hUpdown;
|
|
|
|
SYSTEMTIME date;
|
|
|
|
BOOL dateValid;
|
|
|
|
HWND hwndCheckbut;
|
|
|
|
RECT rect;
|
|
|
|
RECT checkbox;
|
|
|
|
RECT daytxt;
|
|
|
|
RECT daynumtxt;
|
|
|
|
RECT rmonthtxt;
|
|
|
|
RECT yeartxt;
|
|
|
|
RECT calbutton;
|
|
|
|
int select;
|
|
|
|
HFONT hFont;
|
1998-11-08 12:30:27 +01:00
|
|
|
} DATETIME_INFO, *LPDATETIME_INFO;
|
|
|
|
|
|
|
|
extern VOID DATETIME_Register (VOID);
|
|
|
|
extern VOID DATETIME_Unregister (VOID);
|
|
|
|
|
1999-07-31 13:12:45 +02:00
|
|
|
#define DTHT_NONE 0
|
|
|
|
#define DTHT_MCPOPUP 1
|
|
|
|
#define DTHT_YEAR 2
|
|
|
|
#define DTHT_DAYNUM 3
|
|
|
|
#define DTHT_MONTH 4
|
|
|
|
#define DTHT_DAY 5
|
|
|
|
#define DTHT_CHECKBOX 6
|
|
|
|
#define DTHT_GOTFOCUS 128
|
|
|
|
|
1998-11-08 12:30:27 +01:00
|
|
|
#endif /* __WINE_DATETIME_H */
|