【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.6.6.13 ComboBox::SelectString
Contents
Description
Syntax
int SelectString( int nStartAfter, LPCSTR lpcsz )
Parameters
- nStartAfter
- lpcsz
Return
Examples
EX1
#include <..\OriginLab\DialogEx.h> #define IDC_COMBO1 1001 void ComboBox_SelectString_ex1(Dialog& MyDlg) { ComboBox m_cmbBox = MyDlg.GetItem(IDC_COMBO1); int nSel = m_cmbBox.SelectString(0, "try"); }
Remark
See Also
Header to Include
Control.h