【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.6.19.12 ListBox::InsertString
Contents
Description
Syntax
int InsertString( int nIndex, LPCSTR lpcsz )
Parameters
- nIndex
- lpcsz
Return
Examples
EX1
#include <..\OriginLab\DialogEx.h> // Dialog class #define IDC_LIST1 1001 void ListBox_InsertString(Dialog& MyDlg) { ListBox m_List = MyDlg.GetItem(IDC_LIST1); int nRet = m_List.InsertString(0, "Good"); }
Remark
See Also
Header to Include
Control.h