| Line |  | 
|---|
| 1 | /* $Id: datetime.h,v 1.3 2000-02-25 16:58:33 cbratschi Exp $ */ | 
|---|
| 2 |  | 
|---|
| 3 | /* | 
|---|
| 4 | * Date and time picker class extra info | 
|---|
| 5 | * | 
|---|
| 6 | * Copyright 1998 Eric Kohl | 
|---|
| 7 | * Copyright 1999 Alex Priem | 
|---|
| 8 | */ | 
|---|
| 9 |  | 
|---|
| 10 | #ifndef __WINE_DATETIME_H | 
|---|
| 11 | #define __WINE_DATETIME_H | 
|---|
| 12 |  | 
|---|
| 13 | typedef struct tagDATETIME_INFO | 
|---|
| 14 | { | 
|---|
| 15 | COMCTL32_HEADER header; | 
|---|
| 16 | HWND hMonthCal; | 
|---|
| 17 | HWND hUpdown; | 
|---|
| 18 | SYSTEMTIME date; | 
|---|
| 19 | BOOL dateValid; | 
|---|
| 20 | HWND hwndCheckbut; | 
|---|
| 21 | RECT rect; | 
|---|
| 22 | RECT checkbox; | 
|---|
| 23 | RECT daytxt; | 
|---|
| 24 | RECT daynumtxt; | 
|---|
| 25 | RECT rmonthtxt; | 
|---|
| 26 | RECT yeartxt; | 
|---|
| 27 | RECT calbutton; | 
|---|
| 28 | int  select; | 
|---|
| 29 | HFONT hFont; | 
|---|
| 30 | } DATETIME_INFO, *LPDATETIME_INFO; | 
|---|
| 31 |  | 
|---|
| 32 | extern VOID DATETIME_Register (VOID); | 
|---|
| 33 | extern VOID DATETIME_Unregister (VOID); | 
|---|
| 34 |  | 
|---|
| 35 | #define DTHT_NONE     0 | 
|---|
| 36 | #define DTHT_MCPOPUP  1 | 
|---|
| 37 | #define DTHT_YEAR     2 | 
|---|
| 38 | #define DTHT_DAYNUM   3 | 
|---|
| 39 | #define DTHT_MONTH    4 | 
|---|
| 40 | #define DTHT_DAY      5 | 
|---|
| 41 | #define DTHT_CHECKBOX 6 | 
|---|
| 42 | #define DTHT_GOTFOCUS 128 | 
|---|
| 43 |  | 
|---|
| 44 | #endif  /* __WINE_DATETIME_H */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.