Commit ce2b1410 authored by Luc Tourangeau's avatar Luc Tourangeau Committed by Alexandre Julliard

Preliminary listview control implementation.

parent 85dd9fca
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -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
{
......
......@@ -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;
......
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