mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
2002-12-02 Ken Fitlike <kenfitlike@users.sourceforge.net>
* include/commctrl.h (LVBKIF_*): Add defines. (LVM_SETIMAGE[AW]): Add defines and UNICODE mappings. (LVM_GETIMAGE[AW]): Add defines and UNICODE mappings. (LVBKIMAGE[AW]): Add defines and UNICODE mappings. (LPLVBKIMAGE[AW]): Add defines and UNICODE mappings. (LVM_GETBKIMAGE[AW]): Add defines and UNICODE mappings. (LVM_SETBKIMAGE[AW]): Add defines and UNICODE mappings. (ListView_GetBkImage): Add define. (ListView_SetBkImage): Add define. (LVBKIMAGE): Add structures and typedefs.
This commit is contained in:
parent
171eed0b9d
commit
c7ca0398dc
@ -1,3 +1,16 @@
|
||||
2002-12-02 Ken Fitlike <kenfitlike@users.sourceforge.net>
|
||||
|
||||
* include/commctrl.h (LVBKIF_*): Add defines.
|
||||
(LVM_SETIMAGE[AW]): Add defines and UNICODE mappings.
|
||||
(LVM_GETIMAGE[AW]): Add defines and UNICODE mappings.
|
||||
(LVBKIMAGE[AW]): Add defines and UNICODE mappings.
|
||||
(LPLVBKIMAGE[AW]): Add defines and UNICODE mappings.
|
||||
(LVM_GETBKIMAGE[AW]): Add defines and UNICODE mappings.
|
||||
(LVM_SETBKIMAGE[AW]): Add defines and UNICODE mappings.
|
||||
(ListView_GetBkImage): Add define.
|
||||
(ListView_SetBkImage): Add define.
|
||||
(LVBKIMAGE): Add structures and typedefs.
|
||||
|
||||
2002-11-25 Earnie Boyd <earnie@users.sf.net>
|
||||
|
||||
* include/w32api.h: Increment to version 2.2
|
||||
|
@ -643,6 +643,19 @@ extern "C" {
|
||||
#define CDRF_NOTIFYPOSTPAINT 16
|
||||
#define CDRF_NEWFONT 2
|
||||
#define CDRF_SKIPDEFAULT 4
|
||||
#if (_WIN32_IE >= 0x0400)
|
||||
#define LVBKIF_SOURCE_NONE 0x00000000
|
||||
#define LVBKIF_SOURCE_HBITMAP 0x00000001
|
||||
#define LVBKIF_SOURCE_URL 0x00000002
|
||||
#define LVBKIF_SOURCE_MASK 0x00000003
|
||||
#define LVBKIF_STYLE_NORMAL 0x00000000
|
||||
#define LVBKIF_STYLE_TILE 0x00000010
|
||||
#define LVBKIF_STYLE_MASK 0x00000010
|
||||
#endif /* _WIN32_IE >=0x0400 */
|
||||
#if (_WIN32_WINNT >= 0x501)
|
||||
#define LVBKIF_FLAG_TILEOFFSET 0x00000100
|
||||
#define LVBKIF_TYPE_WATERMARK 0x10000000
|
||||
#endif /* _WIN32_WINNT >= 0x501 */
|
||||
#define LVS_OWNERDATA 4096
|
||||
#define LVS_EX_CHECKBOXES 4
|
||||
#define LVS_EX_FULLROWSELECT 32
|
||||
@ -698,6 +711,12 @@ extern "C" {
|
||||
#define LVM_DELETEALLITEMS (LVM_FIRST+9)
|
||||
#define LVM_GETCALLBACKMASK (LVM_FIRST+10)
|
||||
#define LVM_SETCALLBACKMASK (LVM_FIRST+11)
|
||||
#if( _WIN32_IE >= 0x0400 )
|
||||
#define LVM_SETBKIMAGEA (LVM_FIRST + 68)
|
||||
#define LVM_SETBKIMAGEW (LVM_FIRST + 138)
|
||||
#define LVM_GETBKIMAGEA (LVM_FIRST + 69)
|
||||
#define LVM_GETBKIMAGEW (LVM_FIRST + 139)
|
||||
#endif /* _WIN32_IE >=0x0400 */
|
||||
#define LVNI_ALL 0
|
||||
#define LVNI_FOCUSED 1
|
||||
#define LVNI_SELECTED 2
|
||||
@ -1411,7 +1430,23 @@ typedef struct {
|
||||
LPWSTR pszText;
|
||||
int cchText;
|
||||
} TBBUTTONINFOW, *LPTBBUTTONINFOW;
|
||||
#endif
|
||||
typedef struct tagLVBKIMAGEA {
|
||||
ULONG ulFlags;
|
||||
HBITMAP hbm;
|
||||
LPSTR pszImage;
|
||||
UINT cchImageMax;
|
||||
int xOffsetPercent;
|
||||
int yOffsetPercent;
|
||||
} LVBKIMAGEA, *LPLVBKIMAGEA;
|
||||
typedef struct tagLVBKIMAGEW {
|
||||
ULONG ulFlags;
|
||||
HBITMAP hbm;
|
||||
LPWSTR pszImage;
|
||||
UINT cchImageMax;
|
||||
int xOffsetPercent;
|
||||
int yOffsetPercent;
|
||||
} LVBKIMAGEW, *LPLVBKIMAGEW;
|
||||
#endif /* _WIN32_IE >= 0x400 */
|
||||
typedef struct {
|
||||
NMHDR hdr;
|
||||
int iItem;
|
||||
@ -2367,6 +2402,8 @@ WINBOOL WINAPI ImageList_DrawIndirect(IMAGELISTDRAWPARAMS*);
|
||||
#define TreeView_SetToolTips(w,wt) (HWND)SNDMSG((w),TVM_SETTOOLTIPS,(WPARAM)(wt),0)
|
||||
#endif
|
||||
#if (_WIN32_IE >= 0x0400)
|
||||
#define ListView_GetBkImage(h,plvbki) (BOOL)SNDMSG((h), LVM_GETBKIMAGE, 0, (LPARAM)(plvbki))
|
||||
#define ListView_SetBkImage(h, plvbki) (BOOL)SNDMSG((h), LVM_SETBKIMAGE, 0, (LPARAM)(plvbki))
|
||||
#define ListView_SetExtendedListViewStyleEx(w,m,s) (DWORD)SNDMSG((w),LVM_SETEXTENDEDLISTVIEWSTYLE,(m),(s))
|
||||
#define TabCtrl_HighlightItem(hwnd, i, fHighlight) SNDMSG((hwnd), TCM_HIGHLIGHTITEM, (WPARAM)i, (LPARAM)MAKELONG (fHighlight, 0))
|
||||
#define TabCtrl_SetExtendedStyle(hwnd, dw) SNDMSG((hwnd), TCM_SETEXTENDEDSTYLE, 0, dw)
|
||||
@ -2481,6 +2518,12 @@ typedef NMTREEVIEWW NMTREEVIEW,*LPNMTREEVIEW;
|
||||
#define LV_ITEM LV_ITEMW
|
||||
#define LVITEM LVITEMW
|
||||
#define LPSTR_TEXTCALLBACK LPSTR_TEXTCALLBACKW
|
||||
#if _WIN32_IE >= 0x0400
|
||||
#define LVBKIMAGE LVBKIMAGEW
|
||||
#define LPLVBKIMAGE LPLVBKIMAGEW
|
||||
#define LVM_SETBKIMAGE LVM_SETBKIMAGEW
|
||||
#define LVM_GETBKIMAGE LVM_GETBKIMAGEW
|
||||
#endif /* _WIN32_IE >= 0x400 */
|
||||
#define LVM_GETITEM LVM_GETITEMW
|
||||
#define LVM_SETITEM LVM_SETITEMW
|
||||
#define LVM_INSERTITEM LVM_INSERTITEMW
|
||||
@ -2632,6 +2675,12 @@ typedef NMTREEVIEWA NMTREEVIEW,*LPNMTREEVIEW;
|
||||
#define LV_ITEM LV_ITEMA
|
||||
#define LVITEM LVITEMA
|
||||
#define LPSTR_TEXTCALLBACK LPSTR_TEXTCALLBACKA
|
||||
#if _WIN32_IE >= 0x0400
|
||||
#define LVBKIMAGE LVBKIMAGEA
|
||||
#define LPLVBKIMAGE LPLVBKIMAGEA
|
||||
#define LVM_SETBKIMAGE LVM_SETBKIMAGEA
|
||||
#define LVM_GETBKIMAGE LVM_GETBKIMAGEA
|
||||
#endif /* _WIN32_IE >= 0x0400 */
|
||||
#define LVM_GETITEM LVM_GETITEMA
|
||||
#define LVM_SETITEM LVM_SETITEMA
|
||||
#define LVM_INSERTITEM LVM_INSERTITEMA
|
||||
|
Loading…
x
Reference in New Issue
Block a user