Fixed allocation of 16x16 icons.
[wine.git] / include / updown.h
blobb2e7cde1404f659b9ad1e55f413d9616662ca260
1 /*
2 * Up-down class extra info
4 * Copyright 1997 Dimitrie O. Paun
5 */
7 #ifndef __WINE_UPDOWN_H
8 #define __WINE_UPDOWN_H
10 #include "windef.h"
11 #include "commctrl.h"
13 #define UPDOWN_BUDDYCLASSNAMELEN 40
15 typedef struct
17 UINT AccelCount; /* Number of elements in AccelVect */
18 UDACCEL* AccelVect; /* Vector containing AccelCount elements */
19 INT Base; /* Base to display nr in the buddy window */
20 INT CurVal; /* Current up-down value */
21 INT MinVal; /* Minimum up-down value */
22 INT MaxVal; /* Maximum up-down value */
23 HWND Buddy; /* Handle to the buddy window */
24 CHAR szBuddyClass[UPDOWN_BUDDYCLASSNAMELEN]; /* Buddy window class name */
25 INT Flags; /* Internal Flags FLAG_* */
26 } UPDOWN_INFO;
28 typedef struct tagNM_UPDOWN
30 NMHDR hdr;
31 int iPos;
32 int iDelta;
33 } NM_UPDOWN;
35 extern VOID UPDOWN_Register (VOID);
36 extern VOID UPDOWN_Unregister (VOID);
38 #endif /* __WINE_UPDOWN_H */