File: datetime.h

package info (click to toggle)
wine 0.0.20000109-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 22,652 kB
  • ctags: 59,973
  • sloc: ansic: 342,054; perl: 3,697; yacc: 3,059; tcl: 2,647; makefile: 2,466; lex: 1,494; sh: 394
file content (44 lines) | stat: -rw-r--r-- 803 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
 * Date and time picker class extra info
 *
 * Copyright 1998 Eric Kohl
 * Copyright 1999 Alex Priem
 */

#ifndef __WINE_DATETIME_H
#define __WINE_DATETIME_H

#include "windef.h"
#include "winbase.h"

typedef struct tagDATETIME_INFO
{
	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;
} DATETIME_INFO, *LPDATETIME_INFO;

extern VOID DATETIME_Register (VOID);
extern VOID DATETIME_Unregister (VOID);

#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

#endif  /* __WINE_DATETIME_H */