我在MOUSEDOWN中加入了如下代码: BOOL bAscending=TRUE; int nCol=m_ctrlContextTO.GetFocusCell().col; int low=m_ctrlContextTO.GetFixedRowCount(); int high=m_ctrlContextTO.GetRowCount(); m_ctrlContextTO.SortTextItems(nCol,bAscending,low,high); 我不知道调用SortTextItems函数对吗,参数对吗? 麻烦再详细说一下,我还是个初学者。谢谢!
BOOL bAscending=TRUE;
int nCol=m_ctrlContextTO.GetFocusCell().col;
int low=m_ctrlContextTO.GetFixedRowCount();
int high=m_ctrlContextTO.GetRowCount();
m_ctrlContextTO.SortTextItems(nCol,bAscending,low,high);
我不知道调用SortTextItems函数对吗,参数对吗?
麻烦再详细说一下,我还是个初学者。谢谢!