Commit d70de84e authored by Alex Priem's avatar Alex Priem Committed by Alexandre Julliard

IPaddress common control implementation. First try; needs more work to

remove boring bugs.
parent 0bb85b10
......@@ -2468,7 +2468,9 @@ typedef struct tagTCITEM {
#define IPM_SETFOCUS (WM_USER+104)
#define IPM_ISBLANK (WM_USER+105)
#define IPN_FIELDCHANGED (IPN_FIRST-0)
#define IPN_FIRST (0U-860U)
#define IPN_LAST (0U-879U)
#define IPN_FIELDCHANGED (IPN_FIRST-0)
typedef struct tagNMIPADDRESS
{
......
......@@ -2,20 +2,36 @@
* IP Address class extra info
*
* Copyright 1998 Eric Kohl
* Copyright 1998 Alex Priem
*/
#ifndef __WINE_IPADDRESS_H
#define __WINE_IPADDRESS_H
#include "win.h"
typedef struct tagIPADDRESS_INFO
{
DWORD dwDummy; /* just to keep the compiler happy ;-) */
BYTE LowerLimit[4];
BYTE UpperLimit[4];
RECT32 rcClient;
INT32 uFocus;
} IPADDRESS_INFO;
} IPADDRESS_INFO, *LPIPADDRESS_INFO;
typedef struct tagIP_SUBCLASS_INFO
{
WNDPROC32 wpOrigProc[4];
HWND32 hwndIP[4];
IPADDRESS_INFO *infoPtr;
WND *wndPtr;
UINT32 uRefCount;
} IP_SUBCLASS_INFO, *LPIP_SUBCLASS_INFO;
extern VOID IPADDRESS_Register (VOID);
extern VOID IPADDRESS_Unregister (VOID);
extern void IPADDRESS_Register (void);
extern void IPADDRESS_Unregister (void);
#endif /* __WINE_IPADDRESS_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment