반응형

view클래스::OnInitialUpdate()
{

 
 CComboBox * pWnd=(CComboBox*)(GetDlgItem(IDC_COMBO1));
  //->InsertString((CComboBox*)(::GetDlgItem(m_hWnd,IDC_COMBO1))->GetCount(), str);

 
 CString str;
 str.Format(L"첫번째아이템");
 pWnd->InsertString(pWnd->GetCount(), str);

 

 

...

}


반응형

+ Recent posts