/////////////////////////////////////////////////////////////////////////////
-// Name: missing.h
+// Name: wx/msw/missing.h
// Purpose: Declarations for parts of the Win32 SDK that are missing in
-// the version that comes with some compilers
+// the versions that come with some compilers
// Created: 2002/04/23
// RCS-ID: $Id$
+// Copyright: (c) 2002 Mattia Barbon
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#endif
#ifndef LVSICF_NOSCROLL
- #define LVSICF_NOSCROLL 0x0002
+ #define LVSICF_NOINVALIDATEALL 0x0001
+ #define LVSICF_NOSCROLL 0x0002
#endif
// mingw32/cygwin don't have declarations for comctl32.dll 4.70+ stuff
#endif
#endif
+#ifndef LVM_SETUNICODEFORMAT
+#define LVM_SETUNICODEFORMAT 0x2005
+#endif
+
+// ----------------------------------------------------------------------------
+// Toolbar define value missing
+// ----------------------------------------------------------------------------
+#if !defined(CCS_VERT)
+#define CCS_VERT 0x00000080L
+#endif
// ----------------------------------------------------------------------------
// MS HTML Help
#endif // wxUSE_RICHEDIT
+// ----------------------------------------------------------------------------
+// ToolBar
+// ----------------------------------------------------------------------------
+
+#if wxUSE_TOOLBAR
+
+#if !defined(TBIF_SIZE)
+
+#define TBIF_SIZE 64
+#define TB_SETBUTTONINFO (WM_USER+66)
+
+typedef struct {
+ UINT cbSize;
+ DWORD dwMask;
+ int idCommand;
+ int iImage;
+ BYTE fsState;
+ BYTE fsStyle;
+ WORD cx;
+ DWORD lParam;
+ LPTSTR pszText;
+ int cchText;
+} TBBUTTONINFO, *LPTBBUTTONINFO;
+
+#endif // !defined(TBIF_SIZE)
+
+#endif // wxUSE_TOOLBAR
+
+// ----------------------------------------------------------------------------
+// Tree control
+// ----------------------------------------------------------------------------
+
+#ifndef TVIS_FOCUSED
+ #define TVIS_FOCUSED 0x0001
+#endif
+
+#ifndef TV_FIRST
+ #define TV_FIRST 0x1100
+#endif
+
+#ifndef TVS_CHECKBOXES
+ #define TVS_CHECKBOXES 0x0100
+#endif
+
+#ifndef TVS_FULLROWSELECT
+ #define TVS_FULLROWSELECT 0x1000
+#endif
+
+#ifndef TVM_SETBKCOLOR
+ #define TVM_SETBKCOLOR (TV_FIRST + 29)
+ #define TVM_SETTEXTCOLOR (TV_FIRST + 30)
+#endif
+
// ----------------------------------------------------------------------------
// Misc stuff
// ----------------------------------------------------------------------------
#define ENDSESSION_LOGOFF 0x80000000
#endif
+#ifndef HANGUL_CHARSET
+ #define HANGUL_CHARSET 129
+#endif
+
#endif
// _WX_MISSING_H_