diff --git a/dlls/comctl32/updown.c b/dlls/comctl32/updown.c index 6b02b5ade90..96a8b6f3c9b 100644 --- a/dlls/comctl32/updown.c +++ b/dlls/comctl32/updown.c @@ -56,13 +56,6 @@ typedef struct INT Flags; /* Internal Flags FLAG_* */ } UPDOWN_INFO; -typedef struct tagNM_UPDOWN -{ - NMHDR hdr; - int iPos; - int iDelta; -} NM_UPDOWN; - /* Control configuration constants */ #define INITIAL_DELAY 500 /* initial timer until auto-increment kicks in */ diff --git a/include/commctrl.h b/include/commctrl.h index 371d57971ad..3b4aff12cd2 100644 --- a/include/commctrl.h +++ b/include/commctrl.h @@ -101,7 +101,6 @@ VOID WINAPI InitMUILanguage (LANGID uiLang); #define NM_SETCURSOR (NM_FIRST-17) #define NM_CHAR (NM_FIRST-18) #define NM_TOOLTIPSCREATED (NM_FIRST-19) -#define NMUPDOWN NM_UPDOWN /* callback constants */ #define LPSTR_TEXTCALLBACKA ((LPSTR)-1L) @@ -342,6 +341,16 @@ typedef struct tagUDACCEL #define UDM_SETRANGE32 (WM_USER+111) #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, INT, HINSTANCE, HWND, INT, INT, INT);