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
ce2b1410
Commit
ce2b1410
authored
Feb 17, 1999
by
Luc Tourangeau
Committed by
Alexandre Julliard
Feb 17, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Preliminary listview control implementation.
parent
85dd9fca
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
8 deletions
+32
-8
listview.c
dlls/comctl32/listview.c
+0
-0
commctrl.h
include/commctrl.h
+23
-5
listview.h
include/listview.h
+9
-3
No files found.
dlls/comctl32/listview.c
View file @
ce2b1410
This source diff could not be displayed because it is too large. You can
view the blob
instead.
include/commctrl.h
View file @
ce2b1410
...
...
@@ -5,9 +5,9 @@
#ifndef __WINE_COMMCTRL_H
#define __WINE_COMMCTRL_H
#include "windows.h"
#include "wintypes.h"
#include "winuser.h"
#include "imagelist.h"
#include "prsht.h"
/* c++ likes nameless unions whereas c doesnt */
/* (used in property sheet structures) */
...
...
@@ -1798,7 +1798,6 @@ typedef struct {
#define TVITEM WINELIB_NAME_AW(TVITEM)
#define LPTVITEM WINELIB_NAME_AW(LPTVITEM)
#define TV_ITEM TVITEM
typedef
struct
{
...
...
@@ -1832,7 +1831,6 @@ typedef struct {
#define TVITEMEX WINELIB_NAME_AW(TVITEMEX)
#define LPTVITEMEX WINELIB_NAME_AW(LPTVITEMEX)
typedef
struct
tagTVINSERTSTRUCT32A
{
HTREEITEM
hParent
;
HTREEITEM
hInsertAfter
;
...
...
@@ -1860,7 +1858,6 @@ typedef struct tagTVINSERTSTRUCT32W {
typedef
struct
tagNMTREEVIEW32A
{
NMHDR
hdr
;
UINT32
action
;
...
...
@@ -2156,6 +2153,18 @@ typedef struct tagNMTVGETINFOTIP32W
#define LVSIL_SMALL 1
#define LVSIL_STATE 2
#define LVIS_FOCUSED 0x0001
#define LVIS_SELECTED 0x0002
#define LVIS_CUT 0x0004
#define LVIS_DROPHILITED 0x0008
#define LVIS_ACTIVATING 0x0020
#define LVFI_PARAM 0X0001
#define LVFI_STRING 0X0002
#define LVFI_PARTIAL 0X0008
#define LVFI_WRAP 0X0020
#define LVFI_NEARESTXY 0X0040
#define LVIF_TEXT 0x0001
#define LVIF_IMAGE 0x0002
#define LVIF_PARAM 0x0004
...
...
@@ -2163,6 +2172,11 @@ typedef struct tagNMTVGETINFOTIP32W
#define LVIF_INDENT 0x0010
#define LVIF_NORECOMPUTE 0x0800
#define LVIR_BOUNDS 0x0000
#define LVIR_LABEL 0x0002
#define LVIR_ICON 0x0001
#define LVIR_SELECTBOUNDS 0x0003
#define LVIS_FOCUSED 0x0001
#define LVIS_SELECTED 0x0002
#define LVIS_CUT 0x0004
...
...
@@ -2331,6 +2345,10 @@ typedef struct tagNMTVGETINFOTIP32W
#define LVN_SETDISPINFO32W (LVN_FIRST-78)
#define LVN_SETDISPINFO WINELIB_NAME_AW(LVN_SETDISPINFO)
#define LVA_ALIGNLEFT 0x0000
#define LVA_DEFAULT 0x0001
#define LVA_ALIGNTOP 0x0002
#define LVA_SNAPTOGRID 0x0005
typedef
struct
tagLVITEMA
{
...
...
include/listview.h
View file @
ce2b1410
...
...
@@ -27,14 +27,20 @@ typedef struct tagLISTVIEW_INFO
HIMAGELIST
himlNormal
;
HIMAGELIST
himlSmall
;
HIMAGELIST
himlState
;
INT32
nItemCount
;
BOOL32
bLButtonDown
;
BOOL32
bRButtonDown
;
INT32
nColumnCount
;
INT32
nFocusedItem
;
INT32
nItemCount
;
INT32
nItemHeight
;
INT32
nColumnWidth
;
INT32
nSelectionMark
;
HWND32
hwndHeader
;
HFONT32
hDefaultFont
;
HFONT32
hFont
;
RECT32
rcList
;
/* "client" area of the list (without header) */
INT32
nWidth
;
INT32
nHeight
;
BOOL32
bFocus
;
DWORD
dwExStyle
;
/* extended listview style */
HDPA
hdpaItems
;
...
...
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