Preliminary listview control implementation.
This commit is contained in:
parent
85dd9fcab7
commit
ce2b1410e2
File diff suppressed because it is too large
Load Diff
|
@ -5,9 +5,9 @@
|
||||||
#ifndef __WINE_COMMCTRL_H
|
#ifndef __WINE_COMMCTRL_H
|
||||||
#define __WINE_COMMCTRL_H
|
#define __WINE_COMMCTRL_H
|
||||||
|
|
||||||
#include "windows.h"
|
#include "wintypes.h"
|
||||||
|
#include "winuser.h"
|
||||||
#include "imagelist.h"
|
#include "imagelist.h"
|
||||||
#include "prsht.h"
|
|
||||||
|
|
||||||
/* c++ likes nameless unions whereas c doesnt */
|
/* c++ likes nameless unions whereas c doesnt */
|
||||||
/* (used in property sheet structures) */
|
/* (used in property sheet structures) */
|
||||||
|
@ -1798,7 +1798,6 @@ typedef struct {
|
||||||
|
|
||||||
#define TVITEM WINELIB_NAME_AW(TVITEM)
|
#define TVITEM WINELIB_NAME_AW(TVITEM)
|
||||||
#define LPTVITEM WINELIB_NAME_AW(LPTVITEM)
|
#define LPTVITEM WINELIB_NAME_AW(LPTVITEM)
|
||||||
|
|
||||||
#define TV_ITEM TVITEM
|
#define TV_ITEM TVITEM
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
@ -1832,7 +1831,6 @@ typedef struct {
|
||||||
#define TVITEMEX WINELIB_NAME_AW(TVITEMEX)
|
#define TVITEMEX WINELIB_NAME_AW(TVITEMEX)
|
||||||
#define LPTVITEMEX WINELIB_NAME_AW(LPTVITEMEX)
|
#define LPTVITEMEX WINELIB_NAME_AW(LPTVITEMEX)
|
||||||
|
|
||||||
|
|
||||||
typedef struct tagTVINSERTSTRUCT32A {
|
typedef struct tagTVINSERTSTRUCT32A {
|
||||||
HTREEITEM hParent;
|
HTREEITEM hParent;
|
||||||
HTREEITEM hInsertAfter;
|
HTREEITEM hInsertAfter;
|
||||||
|
@ -1860,7 +1858,6 @@ typedef struct tagTVINSERTSTRUCT32W {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct tagNMTREEVIEW32A {
|
typedef struct tagNMTREEVIEW32A {
|
||||||
NMHDR hdr;
|
NMHDR hdr;
|
||||||
UINT32 action;
|
UINT32 action;
|
||||||
|
@ -2156,6 +2153,18 @@ typedef struct tagNMTVGETINFOTIP32W
|
||||||
#define LVSIL_SMALL 1
|
#define LVSIL_SMALL 1
|
||||||
#define LVSIL_STATE 2
|
#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_TEXT 0x0001
|
||||||
#define LVIF_IMAGE 0x0002
|
#define LVIF_IMAGE 0x0002
|
||||||
#define LVIF_PARAM 0x0004
|
#define LVIF_PARAM 0x0004
|
||||||
|
@ -2163,6 +2172,11 @@ typedef struct tagNMTVGETINFOTIP32W
|
||||||
#define LVIF_INDENT 0x0010
|
#define LVIF_INDENT 0x0010
|
||||||
#define LVIF_NORECOMPUTE 0x0800
|
#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_FOCUSED 0x0001
|
||||||
#define LVIS_SELECTED 0x0002
|
#define LVIS_SELECTED 0x0002
|
||||||
#define LVIS_CUT 0x0004
|
#define LVIS_CUT 0x0004
|
||||||
|
@ -2331,6 +2345,10 @@ typedef struct tagNMTVGETINFOTIP32W
|
||||||
#define LVN_SETDISPINFO32W (LVN_FIRST-78)
|
#define LVN_SETDISPINFO32W (LVN_FIRST-78)
|
||||||
#define LVN_SETDISPINFO WINELIB_NAME_AW(LVN_SETDISPINFO)
|
#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
|
typedef struct tagLVITEMA
|
||||||
{
|
{
|
||||||
|
|
|
@ -27,14 +27,20 @@ typedef struct tagLISTVIEW_INFO
|
||||||
HIMAGELIST himlNormal;
|
HIMAGELIST himlNormal;
|
||||||
HIMAGELIST himlSmall;
|
HIMAGELIST himlSmall;
|
||||||
HIMAGELIST himlState;
|
HIMAGELIST himlState;
|
||||||
INT32 nItemCount;
|
BOOL32 bLButtonDown;
|
||||||
|
BOOL32 bRButtonDown;
|
||||||
INT32 nColumnCount;
|
INT32 nColumnCount;
|
||||||
|
INT32 nFocusedItem;
|
||||||
|
INT32 nItemCount;
|
||||||
|
INT32 nItemHeight;
|
||||||
|
INT32 nColumnWidth;
|
||||||
|
INT32 nSelectionMark;
|
||||||
HWND32 hwndHeader;
|
HWND32 hwndHeader;
|
||||||
HFONT32 hDefaultFont;
|
HFONT32 hDefaultFont;
|
||||||
HFONT32 hFont;
|
HFONT32 hFont;
|
||||||
RECT32 rcList; /* "client" area of the list (without header) */
|
INT32 nWidth;
|
||||||
|
INT32 nHeight;
|
||||||
BOOL32 bFocus;
|
BOOL32 bFocus;
|
||||||
|
|
||||||
DWORD dwExStyle; /* extended listview style */
|
DWORD dwExStyle; /* extended listview style */
|
||||||
HDPA hdpaItems;
|
HDPA hdpaItems;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue