登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

面包会有的

... ...

 
 
 

日志

 
 

CComboBox::DeleteString  

2008-05-19 11:01:10|  分类: VC++ |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

int DeleteString( UINT nIndex );

Return Value

If the return value is greater than or equal to 0, then it is a count of the strings remaining in the list. The return value is CB_ERR if nIndex specifies an index greater then the number of items in the list.

//如果返回值大于或等于零,

Parameters

nIndex

Specifies the index to the string that is to be deleted.

Remarks

Deletes a string in the list box of a combo box.

//从一个组合列表框中删除一行

Example

// The pointer to my combo box.extern CComboBox* pmyComboBox;// Delete every other item from the combo box.for (int i=0;i < pmyComboBox->GetCount();i++){ pmyComboBox->DeleteString( i );}

  评论这张
 
阅读(635)| 评论(0)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018