ReactOS 0.4.16-dev-91-g764881a
|
#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 3193 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 3938 of file listview.c.
#define SCROLL_LEFT 0x1 |
Definition at line 3935 of file listview.c.
#define SCROLL_RIGHT 0x2 |
Definition at line 3936 of file listview.c.
#define SCROLL_UP 0x4 |
Definition at line 3937 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 1575 of file listview.c.
Referenced by EditLblWndProcT().
|
static |
Definition at line 8227 of file listview.c.
Referenced by LISTVIEW_InsertColumnT(), and LISTVIEW_SetColumnT().
|
static |
Definition at line 6201 of file listview.c.
Referenced by LISTVIEW_EditLabelT().
|
static |
Definition at line 1029 of file listview.c.
Referenced by LISTVIEW_DrawItem(), LISTVIEW_Refresh(), and LISTVIEW_RefreshOwnerDraw().
Definition at line 561 of file listview.c.
Referenced by debuglvcolumn_t(), debuglvitem_t(), and debugscrollinfo().
Definition at line 662 of file listview.c.
Referenced by LISTVIEW_InsertColumnT(), and LISTVIEW_SetColumnT().
|
static |
Definition at line 709 of file listview.c.
Referenced by notify_click().
Definition at line 620 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 611 of file listview.c.
Referenced by notify_listview().
Definition at line 568 of file listview.c.
Referenced by iterator_frameditems_absolute(), ranges_add(), ranges_cmp(), ranges_del(), and ranges_dump().
Definition at line 718 of file listview.c.
Referenced by LISTVIEW_HScroll(), and LISTVIEW_VScroll().
|
static |
Definition at line 574 of file listview.c.
Referenced by LISTVIEW_UpdateHScroll(), and LISTVIEW_UpdateVScroll().
Definition at line 548 of file listview.c.
Referenced by CreateEditLabelT(), LISTVIEW_EditLabelT(), and LISTVIEW_EndEditLabelT().
Definition at line 554 of file listview.c.
Referenced by debuglvcolumn_t(), and debuglvitem_t().
|
static |
Definition at line 6184 of file listview.c.
Referenced by CreateEditLabelT().
|
static |
Definition at line 6113 of file listview.c.
Referenced by EditLblWndProcA(), and EditLblWndProcW().
|
static |
Definition at line 6167 of file listview.c.
Referenced by CreateEditLabelT().
Definition at line 737 of file listview.c.
Referenced by notify_dispinfoT(), and notify_forward_header().
|
static |
Definition at line 1622 of file listview.c.
Referenced by LISTVIEW_InsertItemT().
Definition at line 4283 of file listview.c.
Referenced by LISTVIEW_InsertItemT(), and LISTVIEW_SetItemT().
|
inlinestatic |
Definition at line 1582 of file listview.c.
Referenced by LISTVIEW_GetNextItem(), LISTVIEW_ScrollOnInsert(), LISTVIEW_SetItemPosition(), LISTVIEW_SetRedraw(), LISTVIEW_Size(), and LISTVIEW_Update().
|
inlinestatic |
Definition at line 1737 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 1303 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 1311 of file listview.c.
Referenced by iterator_frameditems_absolute(), iterator_rangeitems(), iterator_rangesitems(), and iterator_visibleitems().
|
static |
Definition at line 1440 of file listview.c.
Referenced by iterator_visibleitems(), LISTVIEW_HitTest(), LISTVIEW_InvalidateSelectedItems(), and LISTVIEW_SetGroupSelection().
|
static |
Definition at line 1341 of file listview.c.
Referenced by iterator_frameditems(), and LISTVIEW_MarqueeHighlight().
Definition at line 1208 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 1248 of file listview.c.
Referenced by iterator_remove_common_items(), and LISTVIEW_RefreshList().
Definition at line 1284 of file listview.c.
Referenced by LISTVIEW_Refresh().
Definition at line 1320 of file listview.c.
Referenced by iterator_frameditems_absolute().
Definition at line 1331 of file listview.c.
Referenced by iterator_frameditems_absolute(), LISTVIEW_DeselectAllSkipItems(), LISTVIEW_RefreshReport(), LISTVIEW_RefreshReportGrid(), and LISTVIEW_SetGroupSelection().
Definition at line 1511 of file listview.c.
Referenced by LISTVIEW_MarqueeHighlight().
|
static |
Definition at line 1456 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 3668 of file listview.c.
Referenced by LISTVIEW_LButtonDown().
|
static |
Definition at line 5417 of file listview.c.
Referenced by LISTVIEW_WindowProc().
|
static |
Definition at line 2866 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 3091 of file listview.c.
Referenced by LISTVIEW_RefreshReportGrid(), LISTVIEW_SetFont(), LISTVIEW_SetImageList(), and LISTVIEW_UpdateItemSize().
|
static |
Definition at line 3031 of file listview.c.
Referenced by LISTVIEW_UpdateItemSize().
Definition at line 9414 of file listview.c.
Referenced by LISTVIEW_SortItems().
Definition at line 9438 of file listview.c.
Referenced by LISTVIEW_SortItems().
|
static |
Definition at line 5532 of file listview.c.
Referenced by LISTVIEW_Command(), and LISTVIEW_WindowProc().
|
static |
Definition at line 12063 of file listview.c.
Referenced by LISTVIEW_WindowProc().
|
static |
Definition at line 9719 of file listview.c.
Referenced by LISTVIEW_WindowProc().
|
static |
Definition at line 8637 of file listview.c.
Referenced by LISTVIEW_SetExtendedListViewStyle().
|
static |
Definition at line 5558 of file listview.c.
Referenced by LISTVIEW_WindowProc().
|
static |
Definition at line 1660 of file listview.c.
Referenced by LISTVIEW_Create(), LISTVIEW_InsertColumnT(), LISTVIEW_SetExtendedListViewStyle(), LISTVIEW_SetView(), LISTVIEW_ShowWindow(), and LISTVIEW_StyleChanged().
|
static |
Definition at line 9605 of file listview.c.
Referenced by LISTVIEW_LButtonUp().
|
static |
Definition at line 5623 of file listview.c.
Referenced by LISTVIEW_Destroy(), and LISTVIEW_WindowProc().
|
static |
Definition at line 5760 of file listview.c.
Referenced by LISTVIEW_WindowProc().
|
static |
Definition at line 5917 of file listview.c.
Referenced by LISTVIEW_WindowProc().
|
inlinestatic |
Definition at line 3544 of file listview.c.
Referenced by LISTVIEW_LButtonDown(), and LISTVIEW_RButtonDown().
|
inlinestatic |
Definition at line 3533 of file listview.c.
Referenced by LISTVIEW_DeselectAll(), LISTVIEW_SetSelection(), and set_main_item().
|
static |
Definition at line 3511 of file listview.c.
Referenced by LISTVIEW_DeselectAllSkipItem(), and LISTVIEW_SetGroupSelection().
|
static |
Definition at line 9775 of file listview.c.
Referenced by LISTVIEW_WindowProc().
|
inlinestatic |
Definition at line 1713 of file listview.c.
Referenced by LISTVIEW_Refresh().
|
static |
Definition at line 4847 of file listview.c.
Referenced by LISTVIEW_CreateDragImage(), LISTVIEW_RefreshList(), and LISTVIEW_RefreshReport().
|
static |
Definition at line 4687 of file listview.c.