10 const t_size curCol = colOrder[walk];
12 if (curCol == col)
return skipped;
16 PFC_ASSERT( !
"Should not get here." );
23 const t_size curCol = colOrder[walk];
25 if (skipped == pos)
return curCol;
29 PFC_ASSERT( !
"Should not get here." );
35 for(
t_size walk = 0; walk < total; ++walk) {
43 unsigned _item((
unsigned)item), _subItem((
unsigned)
ColumnToPosition(subItem));
83 rc.bottom = rc.top + (rc.bottom - rc.top) * lineCount;
117 for(
t_size walk = 0; walk < count; ++walk) out[walk] = temp[walk];
virtual t_uint32 TableEdit_GetEditFlags(t_size item, t_size subItem) const
bool have_task(unsigned p_id) const
void orphan_task(unsigned p_id)
const t_item * get_ptr() const
void TableEdit_Abort(bool forwardContent)
virtual void TableEdit_Finished()
bool set_item_text(HWND p_listview, unsigned p_index, unsigned p_column, const char *p_name)
t_size ColumnToPosition(t_size col) const
t_size PositionToColumn(t_size pos) const
bool is_multiline(const char *p_string, t_size p_len)
virtual void TableEdit_SetField(t_size item, t_size subItem, const char *value)=0
virtual t_size TableEdit_GetColumnCount() const =0
t_size EditableColumnCount() const
virtual t_size TableEdit_GetItemCount() const =0
virtual bool TableEdit_GetAutoComplete(t_size item, t_size subItem, pfc::com_ptr_t< IUnknown > &out)
static const unsigned KTaskID
void get_item_text(HWND p_listview, unsigned p_index, unsigned p_column, pfc::string_base &p_out)
void TableEdit_GetColumnOrder(t_size *out, t_size count) const
void TableEdit_Start(t_size item, t_size subItem)
void on_task_completion(unsigned p_id, unsigned p_status)
void set_size(t_size p_size)
pfc::rcptr_t< pfc::string8 > m_editData
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)
virtual bool TableEdit_IsColumnEditable(t_size subItem) const
completion_notify_ptr create_task(unsigned p_id)
virtual HWND TableEdit_GetParentWnd() const =0
void TableEdit_SetItemFocus(t_size item, t_size subItem)
void TableEdit_SetField(t_size item, t_size subItem, const char *value)
bool TableEditAdvance(unsigned &p_item, unsigned &p_column, unsigned p_item_count, unsigned p_column_count, unsigned p_whathappened)
RECT TableEdit_GetItemRect(t_size item, t_size subItem) const
t_size TableEdit_GetItemCount() const
virtual void TableEdit_SetItemFocus(t_size item, t_size subItem)=0
void GrabColumnOrder(pfc::array_t< t_size > &buffer) const
virtual RECT TableEdit_GetItemRect(t_size item, t_size subItem) const =0
virtual bool TableEdit_Advance(t_size &item, t_size &subItem, t_uint32 whathappened)
bool select_single_item(HWND p_listview, unsigned p_index)
void TableEdit_GetField(t_size item, t_size subItem, pfc::string_base &out, t_size &lineCount)
virtual void TableEdit_GetField(t_size item, t_size subItem, pfc::string_base &out, t_size &lineCount)=0