ReactOS 0.4.15-dev-6068-g8061a6f
|
#include <assert.h>
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include "windef.h"
#include "winbase.h"
#include "winnt.h"
#include "wingdi.h"
#include "winuser.h"
#include "winnls.h"
#include "commctrl.h"
#include "comctl32.h"
#include "uxtheme.h"
#include "wine/debug.h"
Go to the source code of this file.
Classes | |
struct | tagCOLUMN_INFO |
struct | tagITEMHDR |
struct | tagSUBITEM_INFO |
struct | tagITEM_INFO |
struct | tagITEM_ID |
struct | tagRANGE |
struct | tagRANGES |
struct | tagITERATOR |
struct | tagDELAYED_ITEM_EDIT |
struct | tagLISTVIEW_INFO |
Typedefs | |
typedef struct tagCOLUMN_INFO | COLUMN_INFO |
typedef struct tagITEMHDR | ITEMHDR |
typedef struct tagITEMHDR * | LPITEMHDR |
typedef struct tagSUBITEM_INFO | SUBITEM_INFO |
typedef struct tagITEM_ID | ITEM_ID |
typedef struct tagITEM_INFO | ITEM_INFO |
typedef struct tagRANGE | RANGE |
typedef struct tagRANGES * | RANGES |
typedef struct tagITERATOR | ITERATOR |
typedef struct tagDELAYED_ITEM_EDIT | DELAYED_ITEM_EDIT |
typedef struct tagLISTVIEW_INFO | LISTVIEW_INFO |
Enumerations | |
enum | notification_mask { NOTIFY_MASK_ITEM_CHANGE = 0x1 , NOTIFY_MASK_END_LABEL_EDIT = 0x2 , NOTIFY_MASK_UNMASK_ALL = 0xffffffff } |
Variables | |
static const WCHAR | themeClass [] = {'L','i','s','t','V','i','e','w',0} |
#define CAPTION_BORDER 2 |
Definition at line 400 of file listview.c.
#define DEBUG_BUFFER_SIZE 256 |
Definition at line 343 of file listview.c.
#define DEBUG_BUFFERS 20 |
Definition at line 341 of file listview.c.
#define DEFAULT_COLUMN_WIDTH 128 |
Definition at line 387 of file listview.c.
#define DEFAULT_LABEL_WIDTH 40 |
Definition at line 382 of file listview.c.
#define DISP_TEXT_SIZE 260 |
Definition at line 349 of file listview.c.
#define HEIGHT_PADDING 1 |
Definition at line 355 of file listview.c.
#define ICON_BOTTOM_PADDING 4 |
Definition at line 375 of file listview.c.
#define ICON_LR_HALF (ICON_LR_PADDING/2) |
Definition at line 379 of file listview.c.
#define ICON_LR_PADDING 16 |
Definition at line 378 of file listview.c.
#define ICON_TOP_PADDING (ICON_TOP_PADDING_NOTHITABLE + ICON_TOP_PADDING_HITABLE) |
Definition at line 374 of file listview.c.
#define ICON_TOP_PADDING_HITABLE 2 |
Definition at line 373 of file listview.c.
#define ICON_TOP_PADDING_NOTHITABLE 2 |
Definition at line 372 of file listview.c.
#define IMAGE_PADDING 2 |
Definition at line 393 of file listview.c.
#define KEY_DELAY 450 |
Definition at line 411 of file listview.c.
#define LABEL_HOR_PADDING 5 |
Definition at line 376 of file listview.c.
#define LABEL_VERT_PADDING 7 |
Definition at line 377 of file listview.c.
#define LISTVIEW_DUMP | ( | iP | ) |
Definition at line 414 of file listview.c.
#define LISTVIEW_SCROLL_ICON_LINE_SIZE 37 |
Definition at line 390 of file listview.c.
#define LV_FL_DT_FLAGS (DT_TOP | DT_NOPREFIX | DT_EDITCONTROL | DT_CENTER | DT_WORDBREAK | DT_NOCLIP) |
Definition at line 404 of file listview.c.
#define LV_ML_DT_FLAGS (DT_TOP | DT_NOPREFIX | DT_EDITCONTROL | DT_CENTER | DT_WORDBREAK | DT_WORD_ELLIPSIS | DT_END_ELLIPSIS) |
Definition at line 403 of file listview.c.
#define LV_SL_DT_FLAGS (DT_VCENTER | DT_NOPREFIX | DT_EDITCONTROL | DT_SINGLELINE | DT_WORD_ELLIPSIS | DT_END_ELLIPSIS) |
Definition at line 405 of file listview.c.
#define MAX_EMPTYTEXT_SELECT_WIDTH 80 |
Definition at line 384 of file listview.c.
#define ranges_check | ( | ranges, | |
desc | |||
) | if (TRACE_ON(listview)) ranges_assert(ranges, desc, __FILE__, __LINE__) |
Definition at line 3195 of file listview.c.
#define REPORT_MARGINX 2 |
Definition at line 358 of file listview.c.
#define SB_INTERNAL -1 |
Definition at line 346 of file listview.c.
#define SCROLL_DOWN 0x8 |
Definition at line 3929 of file listview.c.
#define SCROLL_LEFT 0x1 |
Definition at line 3926 of file listview.c.
#define SCROLL_RIGHT 0x2 |
Definition at line 3927 of file listview.c.
#define SCROLL_UP 0x4 |
Definition at line 3928 of file listview.c.
#define STATEIMAGEINDEX | ( | x | ) | (((x) & LVIS_STATEIMAGEMASK) >> 12) |
Definition at line 408 of file listview.c.
#define TRAILING_HEADER_PADDING 11 |
Definition at line 397 of file listview.c.
#define TRAILING_LABEL_PADDING 12 |
Definition at line 396 of file listview.c.
#define WIDTH_PADDING 12 |
Definition at line 352 of file listview.c.
typedef struct tagCOLUMN_INFO COLUMN_INFO |
typedef struct tagITEM_ID ITEM_ID |
Definition at line 167 of file listview.c.
typedef struct tagITEM_INFO ITEM_INFO |
typedef struct tagITEMHDR ITEMHDR |
typedef struct tagITERATOR ITERATOR |
typedef struct tagLISTVIEW_INFO LISTVIEW_INFO |
typedef struct tagITEMHDR * LPITEMHDR |
typedef struct tagSUBITEM_INFO SUBITEM_INFO |
Enumerator | |
---|---|
NOTIFY_MASK_ITEM_CHANGE | |
NOTIFY_MASK_END_LABEL_EDIT | |
NOTIFY_MASK_UNMASK_ALL |
Definition at line 210 of file listview.c.
|
inlinestatic |
Definition at line 1581 of file listview.c.
Referenced by EditLblWndProcT().
|
static |
Definition at line 8220 of file listview.c.
Referenced by LISTVIEW_InsertColumnT(), and LISTVIEW_SetColumnT().
|
static |
Definition at line 6191 of file listview.c.
Referenced by LISTVIEW_EditLabelT().
|
static |
Definition at line 1035 of file listview.c.
Referenced by LISTVIEW_DrawItem(), LISTVIEW_Refresh(), and LISTVIEW_RefreshOwnerDraw().
Definition at line 567 of file listview.c.
Referenced by debuglvcolumn_t(), debuglvitem_t(), and debugscrollinfo().
Definition at line 668 of file listview.c.
Referenced by LISTVIEW_InsertColumnT(), and LISTVIEW_SetColumnT().
|
static |
Definition at line 715 of file listview.c.
Referenced by notify_click().
Definition at line 626 of file listview.c.
Referenced by LISTVIEW_DrawItem(), LISTVIEW_GetItemMetrics(), LISTVIEW_GetItemT(), LISTVIEW_InsertItemT(), LISTVIEW_RefreshOwnerDraw(), LISTVIEW_SetItemState(), LISTVIEW_SetItemT(), LISTVIEW_SetItemTextT(), and notify_dispinfoT().
|
static |
Definition at line 617 of file listview.c.
Referenced by notify_listview().
Definition at line 574 of file listview.c.
Referenced by iterator_frameditems_absolute(), ranges_add(), ranges_cmp(), ranges_del(), and ranges_dump().
Definition at line 724 of file listview.c.
Referenced by LISTVIEW_HScroll(), and LISTVIEW_VScroll().
|
static |
Definition at line 580 of file listview.c.
Referenced by LISTVIEW_UpdateHScroll(), and LISTVIEW_UpdateVScroll().
Definition at line 554 of file listview.c.
Referenced by CreateEditLabelT(), LISTVIEW_EditLabelT(), and LISTVIEW_EndEditLabelT().
Definition at line 560 of file listview.c.
Referenced by debuglvcolumn_t(), and debuglvitem_t().
|
static |
Definition at line 6174 of file listview.c.
Referenced by CreateEditLabelT().
|
static |
Definition at line 6103 of file listview.c.
Referenced by EditLblWndProcA(), and EditLblWndProcW().
|
static |
Definition at line 6157 of file listview.c.
Referenced by CreateEditLabelT().
Definition at line 743 of file listview.c.
Referenced by notify_dispinfoT(), and notify_forward_header().
|
static |
Definition at line 1628 of file listview.c.
Referenced by LISTVIEW_InsertItemT().
Definition at line 4273 of file listview.c.
Referenced by LISTVIEW_InsertItemT(), and LISTVIEW_SetItemT().
|
inlinestatic |
Definition at line 1588 of file listview.c.
Referenced by LISTVIEW_GetNextItem(), LISTVIEW_ScrollOnInsert(), LISTVIEW_SetItemPosition(), LISTVIEW_SetRedraw(), LISTVIEW_Size(), and LISTVIEW_Update().
|
inlinestatic |
Definition at line 1743 of file listview.c.
Referenced by LISTVIEW_InvalidateColumn(), LISTVIEW_InvalidateItem(), LISTVIEW_InvalidateRect(), LISTVIEW_InvalidateSubItem(), LISTVIEW_Notify(), LISTVIEW_ScrollColumns(), LISTVIEW_ScrollOnInsert(), LISTVIEW_Size(), LISTVIEW_UpdateScroll(), and LISTVIEW_WMPaint().
Definition at line 463 of file listview.c.
Referenced by LISTVIEW_DeleteAllItems(), LISTVIEW_DeleteColumn(), LISTVIEW_DeleteItem(), LISTVIEW_GetItemMetrics(), LISTVIEW_GetItemT(), LISTVIEW_GetStringWidthT(), LISTVIEW_SetItemT(), notify_dispinfoT(), textdupTtoW(), textfreeT(), textlenT(), and textsetptrT().
Definition at line 1309 of file listview.c.
Referenced by LISTVIEW_DeselectAllSkipItems(), LISTVIEW_HitTest(), LISTVIEW_InvalidateSelectedItems(), LISTVIEW_MarqueeHighlight(), LISTVIEW_Refresh(), LISTVIEW_RefreshReport(), LISTVIEW_RefreshReportGrid(), and LISTVIEW_SetGroupSelection().
Definition at line 1317 of file listview.c.
Referenced by iterator_frameditems_absolute(), iterator_rangeitems(), iterator_rangesitems(), and iterator_visibleitems().
|
static |
Definition at line 1446 of file listview.c.
Referenced by iterator_visibleitems(), LISTVIEW_HitTest(), LISTVIEW_InvalidateSelectedItems(), and LISTVIEW_SetGroupSelection().
|
static |
Definition at line 1347 of file listview.c.
Referenced by iterator_frameditems(), and LISTVIEW_MarqueeHighlight().
Definition at line 1214 of file listview.c.
Referenced by iterator_remove_common_items(), iterator_visibleitems(), LISTVIEW_DeselectAllSkipItems(), LISTVIEW_DrawItem(), LISTVIEW_HitTest(), LISTVIEW_InvalidateSelectedItems(), LISTVIEW_MarqueeHighlight(), LISTVIEW_RefreshOwnerDraw(), LISTVIEW_RefreshReport(), LISTVIEW_RefreshReportGrid(), and LISTVIEW_SetGroupSelection().
Definition at line 1254 of file listview.c.
Referenced by iterator_remove_common_items(), and LISTVIEW_RefreshList().
Definition at line 1290 of file listview.c.
Referenced by LISTVIEW_Refresh().
Definition at line 1326 of file listview.c.
Referenced by iterator_frameditems_absolute().
Definition at line 1337 of file listview.c.
Referenced by iterator_frameditems_absolute(), LISTVIEW_DeselectAllSkipItems(), LISTVIEW_RefreshReport(), LISTVIEW_RefreshReportGrid(), and LISTVIEW_SetGroupSelection().
Definition at line 1517 of file listview.c.
Referenced by LISTVIEW_MarqueeHighlight().
|
static |
Definition at line 1462 of file listview.c.
Referenced by LISTVIEW_Refresh().
|
static |
DESCRIPTION: Adds a block of selections.
PARAMETER(S): [I] infoPtr : valid pointer to the listview structure [I] nItem : item index
RETURN: Whether the window is still valid.
Definition at line 3659 of file listview.c.
Referenced by LISTVIEW_LButtonDown().
|
static |
Definition at line 5407 of file listview.c.
Referenced by LISTVIEW_WindowProc().
|
static |
Definition at line 2868 of file listview.c.
Referenced by LISTVIEW_DeleteAllItems(), LISTVIEW_Paint(), LISTVIEW_ScrollOnInsert(), LISTVIEW_SetExtendedListViewStyle(), LISTVIEW_SetRedraw(), LISTVIEW_SetView(), LISTVIEW_Size(), LISTVIEW_StyleChanged(), LISTVIEW_Update(), and LISTVIEW_WindowProc().
|
static |
Definition at line 3093 of file listview.c.
Referenced by LISTVIEW_RefreshReportGrid(), LISTVIEW_SetFont(), LISTVIEW_SetImageList(), and LISTVIEW_UpdateItemSize().
|
static |
Definition at line 3033 of file listview.c.
Referenced by LISTVIEW_UpdateItemSize().
Definition at line 9407 of file listview.c.
Referenced by LISTVIEW_SortItems().
Definition at line 9431 of file listview.c.
Referenced by LISTVIEW_SortItems().
|
static |
Definition at line 5522 of file listview.c.
Referenced by LISTVIEW_Command(), and LISTVIEW_WindowProc().
|
static |
Definition at line 12052 of file listview.c.
Referenced by LISTVIEW_WindowProc().
|
static |
Definition at line 9712 of file listview.c.
Referenced by LISTVIEW_WindowProc().
|
static |
Definition at line 8630 of file listview.c.
Referenced by LISTVIEW_SetExtendedListViewStyle().
|
static |
Definition at line 5548 of file listview.c.
Referenced by LISTVIEW_WindowProc().
|
static |
Definition at line 1666 of file listview.c.
Referenced by LISTVIEW_Create(), LISTVIEW_InsertColumnT(), LISTVIEW_SetExtendedListViewStyle(), LISTVIEW_SetView(), LISTVIEW_ShowWindow(), and LISTVIEW_StyleChanged().
|
static |
Definition at line 9598 of file listview.c.
Referenced by LISTVIEW_LButtonUp().
|
static |
Definition at line 5613 of file listview.c.
Referenced by LISTVIEW_Destroy(), and LISTVIEW_WindowProc().
|
static |
Definition at line 5750 of file listview.c.
Referenced by LISTVIEW_WindowProc().
|
static |
Definition at line 5907 of file listview.c.
Referenced by LISTVIEW_WindowProc().
|
inlinestatic |
Definition at line 3535 of file listview.c.
Referenced by LISTVIEW_LButtonDown(), and LISTVIEW_RButtonDown().
|
inlinestatic |
Definition at line 3524 of file listview.c.
Referenced by LISTVIEW_DeselectAll(), LISTVIEW_SetSelection(), and set_main_item().
|
static |
Definition at line 3502 of file listview.c.
Referenced by LISTVIEW_DeselectAllSkipItem(), and LISTVIEW_SetGroupSelection().
|
static |
Definition at line 9768 of file listview.c.
Referenced by LISTVIEW_WindowProc().
|
inlinestatic |
Definition at line 1719 of file listview.c.
Referenced by LISTVIEW_Refresh().
|
static |
Definition at line 4837 of file listview.c.
Referenced by LISTVIEW_CreateDragImage(), LISTVIEW_RefreshList(), and LISTVIEW_RefreshReport().
|
static |
Definition at line 4677 of file listview.c.