Moved NM_UPDOWN definition to commctrl.h.

This commit is contained in:
Alexandre Julliard 2000-08-11 12:53:27 +00:00
parent 331f80e442
commit e5fe735d89
2 changed files with 10 additions and 8 deletions

View File

@ -56,13 +56,6 @@ typedef struct
INT Flags; /* Internal Flags FLAG_* */ INT Flags; /* Internal Flags FLAG_* */
} UPDOWN_INFO; } UPDOWN_INFO;
typedef struct tagNM_UPDOWN
{
NMHDR hdr;
int iPos;
int iDelta;
} NM_UPDOWN;
/* Control configuration constants */ /* Control configuration constants */
#define INITIAL_DELAY 500 /* initial timer until auto-increment kicks in */ #define INITIAL_DELAY 500 /* initial timer until auto-increment kicks in */

View File

@ -101,7 +101,6 @@ VOID WINAPI InitMUILanguage (LANGID uiLang);
#define NM_SETCURSOR (NM_FIRST-17) #define NM_SETCURSOR (NM_FIRST-17)
#define NM_CHAR (NM_FIRST-18) #define NM_CHAR (NM_FIRST-18)
#define NM_TOOLTIPSCREATED (NM_FIRST-19) #define NM_TOOLTIPSCREATED (NM_FIRST-19)
#define NMUPDOWN NM_UPDOWN
/* callback constants */ /* callback constants */
#define LPSTR_TEXTCALLBACKA ((LPSTR)-1L) #define LPSTR_TEXTCALLBACKA ((LPSTR)-1L)
@ -342,6 +341,16 @@ typedef struct tagUDACCEL
#define UDM_SETRANGE32 (WM_USER+111) #define UDM_SETRANGE32 (WM_USER+111)
#define UDM_GETRANGE32 (WM_USER+112) #define UDM_GETRANGE32 (WM_USER+112)
#define NMUPDOWN NM_UPDOWN
#define LPNMUPDOWN LPNM_UPDOWN
typedef struct tagNM_UPDOWN
{
NMHDR hdr;
int iPos;
int iDelta;
} NM_UPDOWN, *LPNM_UPDOWN;
HWND WINAPI CreateUpDownControl (DWORD, INT, INT, INT, INT, HWND WINAPI CreateUpDownControl (DWORD, INT, INT, INT, INT,
HWND, INT, HINSTANCE, HWND, HWND, INT, HINSTANCE, HWND,
INT, INT, INT); INT, INT, INT);