Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
9a01be4c
Commit
9a01be4c
authored
Oct 17, 2002
by
Dimitrie O. Paun
Committed by
Alexandre Julliard
Oct 17, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add/update the listview structures to version 6.0.
parent
41a9b1bb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
145 additions
and
11 deletions
+145
-11
commctrl.h
include/commctrl.h
+145
-11
No files found.
include/commctrl.h
View file @
9a01be4c
...
...
@@ -2905,6 +2905,9 @@ typedef struct tagLVITEMA
INT
iImage
;
LPARAM
lParam
;
INT
iIndent
;
/* (_WIN32_IE >= 0x0300) */
int
iGroupId
;
/* (_WIN32_IE >= 0x560) */
UINT
cColumns
;
/* (_WIN32_IE >= 0x560) */
PUINT
puColumns
;
/* (_WIN32_IE >= 0x560) */
}
LVITEMA
,
*
LPLVITEMA
;
typedef
struct
tagLVITEMW
...
...
@@ -2919,8 +2922,41 @@ typedef struct tagLVITEMW
INT
iImage
;
LPARAM
lParam
;
INT
iIndent
;
/* (_WIN32_IE >= 0x0300) */
int
iGroupId
;
/* (_WIN32_IE >= 0x560) */
UINT
cColumns
;
/* (_WIN32_IE >= 0x560) */
PUINT
puColumns
;
/* (_WIN32_IE >= 0x560) */
}
LVITEMW
,
*
LPLVITEMW
;
#define LVITEM WINELIB_NAME_AW(LVITEM)
#define LPLVITEM WINELIB_NAME_AW(LPLVITEM)
#define LVITEM_V1_SIZEA CCSIZEOF_STRUCT(LVITEMA, lParam)
#define LVITEM_V1_SIZEW CCSIZEOF_STRUCT(LVITEMW, lParam)
#define LVITEM_V1_SIZE WINELIB_NAME_AW(LVITEM_V1_SIZE)
#define LV_ITEM LVITEM
typedef
struct
LVSETINFOTIPA
{
UINT
cbSize
;
DWORD
dwFlags
;
LPSTR
pszText
;
int
iItem
;
int
iSubItem
;
}
LVSETINFOTIPA
,
*
PLVSETINFOTIPA
;
typedef
struct
LVSETINFOTIPW
{
UINT
cbSize
;
DWORD
dwFlags
;
LPWSTR
pszText
;
int
iItem
;
int
iSubItem
;
}
LVSETINFOTIPW
,
*
PLVSETINFOTIPW
;
#define LVSETINFOTIP WINELIB_NAME_AW(LVSETINFOTIP)
#define PLVSETINFOTIP WINELIB_NAME_AW(PLVSETINFOTIP)
/* ListView background image structs and constants
For _WIN32_IE version 0x400 and later. */
...
...
@@ -2961,15 +2997,6 @@ typedef struct tagLVBKIMAGEW
#define ListView_GetBkImage(hwnd, plvbki) \
(BOOL)SNDMSG((hwnd), LVM_GETBKIMAGE, 0, (LPARAM)plvbki)
#define LVITEM WINELIB_NAME_AW(LVITEM)
#define LPLVITEM WINELIB_NAME_AW(LPLVITEM)
#define LVITEM_V1_SIZEA CCSIZEOF_STRUCT(LVITEMA, lParam)
#define LVITEM_V1_SIZEW CCSIZEOF_STRUCT(LVITEMW, lParam)
#define LVITEM_V1_SIZE WINELIB_NAME_AW(LVITEM_V1_SIZE)
#define LV_ITEM LVITEM
typedef
struct
tagLVCOLUMNA
{
UINT
mask
;
...
...
@@ -3032,7 +3059,7 @@ typedef struct tagNMITEMACTIVATE
UINT
uKeyFlags
;
}
NMITEMACTIVATE
,
*
LPNMITEMACTIVATE
;
typedef
struct
tagLVDISPINFO
typedef
struct
tagLVDISPINFO
A
{
NMHDR
hdr
;
LVITEMA
item
;
...
...
@@ -3118,6 +3145,98 @@ typedef struct tagLVFINDINFOW
#define LVFINDINFO WINELIB_NAME_AW(LVFINDINFO)
#define LPLVFINDINFO WINELIB_NAME_AW(LPLVFINDINFO)
/* Groups relates structures */
typedef
struct
LVGROUPA
{
UINT
cbSize
;
UINT
mask
;
LPSTR
pszHeader
;
int
cchHeader
;
int
iGroupId
;
UINT
stateMask
;
UINT
state
;
UINT
uAlign
;
}
LVGROUPA
,
*
PLVGROUPA
;
typedef
struct
LVGROUPW
{
UINT
cbSize
;
UINT
mask
;
LPWSTR
pszHeader
;
int
cchHeader
;
int
iGroupId
;
UINT
stateMask
;
UINT
state
;
UINT
uAlign
;
}
LVGROUPW
,
*
PLVGROUPW
;
#define LVGROUP WINELIB_NAME_AW(LVGROUP)
#define PLVGROUP WINELIB_NAME_AW(PLVGROUP)
typedef
struct
LVGROUPMETRICS
{
UINT
cbSize
;
UINT
mask
;
UINT
Left
;
UINT
Top
;
UINT
Right
;
UINT
Bottom
;
COLORREF
crLeft
;
COLORREF
crTop
;
COLORREF
crRight
;
COLORREF
crBottom
;
COLORREF
crRightHeader
;
COLORREF
crFooter
;
}
LVGROUPMETRICS
,
*
PLVGROUPMETRICS
;
typedef
INT
(
*
PFNLVGROUPCOMPARE
)(
INT
,
INT
,
VOID
*
);
typedef
struct
LVINSERTGROUPSORTEDA
{
PFNLVGROUPCOMPARE
pfnGroupCompare
;
LPVOID
*
pvData
;
LVGROUPA
lvGroup
;
}
LVINSERTGROUPSORTEDA
,
*
PLVINSERTGROUPSORTEDA
;
typedef
struct
LVINSERTGROUPSORTEDW
{
PFNLVGROUPCOMPARE
pfnGroupCompare
;
LPVOID
*
pvData
;
LVGROUPW
lvGroup
;
}
LVINSERTGROUPSORTEDW
,
*
PLVINSERTGROUPSORTEDW
;
#define LVINSERTGROUPSORTED WINELIB_NAME_AW(LVINSERTGROUPSORTED)
#define PLVINSERTGROUPSORTED WINELIB_NAME_AW(PLVINSERTGROUPSORTED)
/* Tile related structures */
typedef
struct
LVTILEINFO
{
UINT
cbSize
;
int
iItem
;
UINT
cColumns
;
PUINT
puColumns
;
}
LVTILEINFO
,
*
PLVTILEINFO
;
typedef
struct
LVTILEVIEWINFO
{
UINT
cbSize
;
DWORD
dwMask
;
DWORD
dwFlags
;
SIZE
sizeTile
;
int
cLines
;
RECT
rcLabelMargin
;
}
LVTILEVIEWINFO
,
*
PLVTILEVIEWINFO
;
typedef
struct
LVINSERTMARK
{
UINT
cbSize
;
DWORD
dwFlags
;
int
iItem
;
DWORD
dwReserved
;
}
LVINSERTMARK
,
*
PLVINSERTMARK
;
typedef
struct
tagTCHITTESTINFO
{
POINT
pt
;
...
...
@@ -3135,7 +3254,15 @@ typedef struct tagNMLVCUSTOMDRAW
NMCUSTOMDRAW
nmcd
;
COLORREF
clrText
;
COLORREF
clrTextBk
;
int
iSubItem
;
int
iSubItem
;
/* (_WIN32_IE >= 0x0400) */
DWORD
dwItemType
;
/* (_WIN32_IE >= 0x560) */
COLORREF
clrFace
;
/* (_WIN32_IE >= 0x560) */
int
iIconEffect
;
/* (_WIN32_IE >= 0x560) */
int
iIconPhase
;
/* (_WIN32_IE >= 0x560) */
int
iPartId
;
/* (_WIN32_IE >= 0x560) */
int
iStateId
;
/* (_WIN32_IE >= 0x560) */
RECT
rcText
;
/* (_WIN32_IE >= 0x560) */
UINT
uAlign
;
/* (_WIN32_IE >= 0x560) */
}
NMLVCUSTOMDRAW
,
*
LPNMLVCUSTOMDRAW
;
typedef
struct
tagNMLVCACHEHINT
...
...
@@ -3182,6 +3309,13 @@ typedef struct tagNMLVODSTATECHANGE
#define LPNM_ODSTATECHANGE LPNMLVODSTATECHANGE
#define NM_ODSTATECHANGE NMLVODSTATECHANGE
typedef
struct
NMLVSCROLL
{
NMHDR
hdr
;
int
dx
;
int
dy
;
}
NMLVSCROLL
,
*
LPNMLVSCROLL
;
#define ListView_SetTextBkColor(hwnd,clrBk) \
(BOOL)SendMessageA((hwnd),LVM_SETTEXTBKCOLOR,0,(LPARAM)(COLORREF)(clrBk))
#define ListView_SetTextColor(hwnd,clrBk) \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment