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