Lines Matching defs:index

49   int InsertItem(unsigned index, LPCTSTR text);

51 int SetSubItem(unsigned index, unsigned subIndex, LPCTSTR text);
58 int InsertItem(unsigned index, LPCWSTR text);
60 int SetSubItem(unsigned index, unsigned subIndex, LPCWSTR text);
74 /* startIndex : The index of the item with which to begin the search,
90 // If (index == -1), then the state change is applied to all items.
91 void SetItemState(int index, UINT state, UINT mask) { ListView_SetItemState(_window, index, state, mask) }
92 void SetItemState_Selected(int index, bool select) { SetItemState(index, select ? LVIS_SELECTED : 0, LVIS_SELECTED); }
93 void SetItemState_Selected(int index) { SetItemState(index, LVIS_SELECTED, LVIS_SELECTED); }
95 void SetItemState_FocusedSelected(int index) { SetItemState(index, LVIS_FOCUSED | LVIS_SELECTED, LVIS_FOCUSED | LVIS_SELECTED); }
96 UINT GetItemState(int index, UINT mask) const { return ListView_GetItemState(_window, index, mask); }
97 bool IsItemSelected(int index) const { return GetItemState(index, LVIS_SELECTED) == LVIS_SELECTED; }
110 void SetCheckState(UINT index, bool checkState) { ListView_SetCheckState(_window, index, BoolToBOOL(checkState)) }
111 bool GetCheckState(UINT index) { return BOOLToBool(ListView_GetCheckState(_window, index)); }
113 bool EnsureVisible(int index, bool partialOK) { return BOOLToBool(ListView_EnsureVisible(_window, index, BoolToBOOL(partialOK))); }
115 bool GetItemRect(int index, RECT *rect, int code) { return BOOLToBool(ListView_GetItemRect(_window, index, rect, code)); }
127 bool RedrawItem(int index) { return RedrawItems(index, index); }