==如何让LISTBOX 添加一行为从从上往下加?

vernal 2008-03-12 03:55:33
怎么我默认是加在首行啊,我要加在末行的
...全文
294 6 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
shakaqrj 2008-03-12
  • 打赏
  • 举报
回复
addstring就是加在末尾
另外注意楼上所说的sort
vernal 2008-03-12
  • 打赏
  • 举报
回复
谢谢!
  • 打赏
  • 举报
回复
sort去掉
  • 打赏
  • 举报
回复
我砸记得是在未行呢
cutewolf 2008-03-12
  • 打赏
  • 举报
回复
用InsterString就可以了
ouyh12345 2008-03-12
  • 打赏
  • 举报
回复
CListBox::AddString
Remarks

Call this member function to add a string to a list box. If the list box was not created with the LBS_SORT style, the string is added to the end of the list. Otherwise, the string is inserted into the list, and the list is sorted. If the list box was created with the LBS_SORT style but not the LBS_HASSTRINGS style, the framework sorts the list by one or more calls to the CompareItem member function.

15,980

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 界面
社区管理员
  • 界面
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧