5 unsigned insert_item(HWND p_listview,
unsigned p_index,
const char * p_name,LPARAM p_param);
7 unsigned insert_column(HWND p_listview,
unsigned p_index,
const char * p_name,
unsigned p_width_dlu);
9 bool set_item_text(HWND p_listview,
unsigned p_index,
unsigned p_column,
const char * p_name);
21 unsigned insert_item2(HWND p_listview,
unsigned p_index,
const char * col0,
const char * col1, LPARAM p_param = 0);
22 unsigned insert_item3(HWND p_listview,
unsigned p_index,
const char * col0,
const char * col1,
const char * col2, LPARAM p_param = 0);
28 return ListView_GetNextItem(p_listview,-1,LVNI_SELECTED);
32 if (ListView_GetSelectedCount(p_listview) != 1)
return -1;
37 return ListView_GetNextItem(p_listview,-1,LVNI_FOCUSED);
41 return ListView_GetItemState(p_listview,p_index,LVIS_SELECTED) != 0;
unsigned insert_item2(HWND p_listview, unsigned p_index, const char *col0, const char *col1, LPARAM p_param)
static int ListView_GetSingleSelection(HWND p_listview)
int ListView_GetColumnCount(HWND listView)
static bool ListView_IsItemSelected(HWND p_listview, int p_index)
unsigned insert_item3(HWND p_listview, unsigned p_index, const char *col0, const char *col1, const char *col2, LPARAM p_param)
bool set_item_text(HWND p_listview, unsigned p_index, unsigned p_column, const char *p_name)
static int ListView_GetFocusItem(HWND p_listview)
unsigned insert_item(HWND p_listview, unsigned p_index, const char *p_name, LPARAM p_param)
void ListView_GetContextMenuPoint(HWND p_list, LPARAM p_coords, POINT &p_point, int &p_selection)
bool ensure_visible(HWND p_listview, unsigned p_index)
unsigned insert_column(HWND p_listview, unsigned p_index, const char *p_name, unsigned p_width_dlu)
void get_item_text(HWND p_listview, unsigned p_index, unsigned p_column, pfc::string_base &p_out)
bool is_item_selected(HWND p_listview, unsigned p_index)
static int ListView_GetFirstSelection(HWND p_listview)
void set_item_selection(HWND p_listview, unsigned p_index, bool p_state)
bool select_single_item(HWND p_listview, unsigned p_index)