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