| Line |  | 
|---|
| 1 | /* $Id: updown.h,v 1.3 2000-03-18 16:10:57 cbratschi Exp $ */ | 
|---|
| 2 |  | 
|---|
| 3 | /* | 
|---|
| 4 | * Up-down class extra info | 
|---|
| 5 | * | 
|---|
| 6 | * Copyright 1997 Dimitrie O. Paun | 
|---|
| 7 | */ | 
|---|
| 8 |  | 
|---|
| 9 | #ifndef __WINE_UPDOWN_H | 
|---|
| 10 | #define __WINE_UPDOWN_H | 
|---|
| 11 |  | 
|---|
| 12 | #include "windef.h" | 
|---|
| 13 | #include "commctrl.h" | 
|---|
| 14 |  | 
|---|
| 15 | #define UPDOWN_BUDDYCLASSNAMELEN 40 | 
|---|
| 16 |  | 
|---|
| 17 | typedef struct | 
|---|
| 18 | { | 
|---|
| 19 | COMCTL32_HEADER header; | 
|---|
| 20 |  | 
|---|
| 21 | UINT      AccelCount;   /* Number of elements in AccelVect */ | 
|---|
| 22 | UDACCEL*  AccelVect;    /* Vector containing AccelCount elements */ | 
|---|
| 23 | INT       Base;         /* Base to display nr in the buddy window */ | 
|---|
| 24 | INT       CurVal;       /* Current up-down value */ | 
|---|
| 25 | INT       MinVal;       /* Minimum up-down value */ | 
|---|
| 26 | INT       MaxVal;       /* Maximum up-down value */ | 
|---|
| 27 | HWND      Buddy;        /* Handle to the buddy window */ | 
|---|
| 28 | CHAR      szBuddyClass[UPDOWN_BUDDYCLASSNAMELEN]; /* Buddy window class name */ | 
|---|
| 29 | INT       Flags;        /* Internal Flags FLAG_* */ | 
|---|
| 30 | } UPDOWN_INFO; | 
|---|
| 31 |  | 
|---|
| 32 | typedef struct tagNM_UPDOWN | 
|---|
| 33 | { | 
|---|
| 34 | NMHDR hdr; | 
|---|
| 35 | int iPos; | 
|---|
| 36 | int iDelta; | 
|---|
| 37 | } NM_UPDOWN; | 
|---|
| 38 |  | 
|---|
| 39 | extern VOID UPDOWN_Register (VOID); | 
|---|
| 40 | extern VOID UPDOWN_Unregister (VOID); | 
|---|
| 41 |  | 
|---|
| 42 | #endif  /* __WINE_UPDOWN_H */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.