Click here to Skip to main content
15,916,692 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCFtpConnection::PutFile with blank characters Pin
Ray Manyik18-May-06 12:58
Ray Manyik18-May-06 12:58 
AnswerRe: CFtpConnection::PutFile with blank characters Pin
Ganesh_T18-May-06 18:42
Ganesh_T18-May-06 18:42 
GeneralRe: CFtpConnection::PutFile with blank characters Pin
Ray Manyik19-May-06 6:07
Ray Manyik19-May-06 6:07 
GeneralRe: CFtpConnection::PutFile with blank characters Pin
Ganesh_T19-May-06 18:27
Ganesh_T19-May-06 18:27 
GeneralRe: CFtpConnection::PutFile with blank characters Pin
Ray Manyik22-May-06 5:41
Ray Manyik22-May-06 5:41 
GeneralRe: CFtpConnection::PutFile with blank characters Pin
Ray Manyik23-May-06 7:23
Ray Manyik23-May-06 7:23 
Questionfunctions and arrays Pin
pp94418-May-06 12:44
pp94418-May-06 12:44 
AnswerRe: functions and arrays Pin
Stephen Hewitt18-May-06 13:47
Stephen Hewitt18-May-06 13:47 
Questionhowto parallel port Pin
mahmoud_bagheri18-May-06 12:22
mahmoud_bagheri18-May-06 12:22 
QuestionObjects and threads Pin
masnu18-May-06 11:00
masnu18-May-06 11:00 
QuestionRe: Objects and threads Pin
David Crow18-May-06 11:03
David Crow18-May-06 11:03 
AnswerRe: Objects and threads Pin
Chris Losinger18-May-06 11:04
professionalChris Losinger18-May-06 11:04 
AnswerRe: Objects and threads Pin
led mike18-May-06 11:18
led mike18-May-06 11:18 
AnswerRe: Objects and threads Pin
Peter Weyzen18-May-06 12:20
Peter Weyzen18-May-06 12:20 
Questionseperating items Pin
Sam 200618-May-06 10:55
Sam 200618-May-06 10:55 
QuestionRe: seperating items Pin
David Crow18-May-06 11:01
David Crow18-May-06 11:01 
AnswerRe: seperating items Pin
Sam 200618-May-06 12:45
Sam 200618-May-06 12:45 
AnswerRe: seperating items Pin
Peter Weyzen18-May-06 12:21
Peter Weyzen18-May-06 12:21 
AnswerRe: seperating items Pin
ThatsAlok18-May-06 19:39
ThatsAlok18-May-06 19:39 
Questionhow to display text in a combo box edit control Pin
elephantstar18-May-06 10:20
elephantstar18-May-06 10:20 
AnswerRe: how to display text in a combo box edit control Pin
Chris Losinger18-May-06 10:31
professionalChris Losinger18-May-06 10:31 
GeneralRe: how to display text in a combo box edit control Pin
elephantstar18-May-06 11:02
elephantstar18-May-06 11:02 
AnswerRe: how to display text in a combo box edit control Pin
Andy Rama19-May-06 3:04
Andy Rama19-May-06 3:04 
Hi,
I don't have more knowlegde about VC++, but try following if it can satisfy your requirement.
//Adds a string in ComboBox
   CComboBox *combo = new CComboBox();
   combo->m_hWnd = GetDlgItem(IDC_TEST)->m_hWnd;
   combo->AddString("AS");  
   combo->AddString("ZX");  //Adds a string in ComboBox at Last Position
                            //if 'Sort' option is not Selected.

//Following shows the text in ComboBox (must not be in the list of ComboBox)
   m_combo = "ZX"; //where 'm_combo' member variable of 'IDC_TEST' ComboBox
                   // datatype of 'm_combo' is 'CString'
   UpdateData(FALSE);

Try it.

Best Regards,
Aniket

-- modified at 9:07 Friday 19th May, 2006
GeneralRe: how to display text in a combo box edit control Pin
elephantstar23-May-06 11:45
elephantstar23-May-06 11:45 
QuestionMemory leak issue Pin
Chris Corben18-May-06 8:55
Chris Corben18-May-06 8:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.