26 bool TableEditAdvance(
unsigned & p_item,
unsigned & p_column,
unsigned p_item_count,
unsigned p_column_count,
unsigned p_whathappened);
27 bool TableEditAdvance_ListView(HWND p_listview,
unsigned p_column_base,
unsigned & p_item,
unsigned & p_column,
unsigned p_item_count,
unsigned p_column_count,
unsigned p_whathappened);
32 void TableEdit_Start(HWND p_listview,
unsigned p_item,
unsigned p_column,
unsigned p_itemcount,
unsigned p_columncount,
unsigned p_basecolumn,
unsigned p_flags = 0) {
33 if (
m_notify.
is_valid() || p_columncount == 0 || p_itemcount == 0 || p_item >= p_itemcount || p_column >= p_columncount)
return;
112 unsigned linecount = 1;
void TableEdit_Abort(bool p_forwardcontent)
HWND TableEdit_GetListView() const
bool set_item_text(HWND p_listview, unsigned p_index, unsigned p_column, const char *p_name)
void Start_FromListView(HWND p_listview, unsigned p_item, unsigned p_subitem, unsigned p_linecount, pfc::rcptr_t< pfc::string_base > p_content, completion_notify_ptr p_notify)
virtual void TableEdit_Finished()
virtual bool TableEdit_GetItemText(unsigned p_item, unsigned p_column, pfc::string_base &p_out, unsigned &p_linecount)
void TableEdit_Start(HWND p_listview, unsigned p_item, unsigned p_column, unsigned p_itemcount, unsigned p_columncount, unsigned p_basecolumn, unsigned p_flags=0)
service_ptr_t< completion_notify_orphanable > m_notify
bool is_multiline(const char *p_string, t_size p_len)
virtual bool TableEdit_OnEditCompleted(unsigned item, unsigned column, unsigned state)
void get_item_text(HWND p_listview, unsigned p_index, unsigned p_column, pfc::string_base &p_out)
virtual void TableEdit_SetItemText(unsigned p_item, unsigned p_column, const char *p_text)
bool TableEdit_IsActive() const
HWND StartEx(HWND p_parentwnd, const RECT &p_rect, unsigned p_flags, pfc::rcptr_t< pfc::string_base > p_content, completion_notify_ptr p_notify, IUnknown *ACData=NULL, DWORD ACOpts=0)
void on_task_completion(unsigned p_taskid, unsigned p_state)
bool TableEditAdvance(unsigned &p_item, unsigned &p_column, unsigned p_item_count, unsigned p_column_count, unsigned p_whathappened)
service_nnptr_t< completion_notify_orphanable > completion_notify_create(t_receiver *p_receiver, unsigned p_taskid)
void Start_FromListViewEx(HWND p_listview, unsigned p_item, unsigned p_subitem, unsigned p_linecount, unsigned p_flags, pfc::rcptr_t< pfc::string_base > p_content, completion_notify_ptr p_notify)
bool select_single_item(HWND p_listview, unsigned p_index)
bool TableEditAdvance_ListView(HWND p_listview, unsigned p_column_base, unsigned &p_item, unsigned &p_column, unsigned p_item_count, unsigned p_column_count, unsigned p_whathappened)
pfc::rcptr_t< pfc::string8 > m_content
HWND Start(HWND p_parentwnd, const RECT &p_rect, bool p_multiline, pfc::rcptr_t< pfc::string_base > p_content, completion_notify_ptr p_notify)