| | |
How to use combobox function
![]() |
•
•
Join Date: Jun 2004
Posts: 609
Reputation:
Solved Threads: 7
I am trying to write some code using vc++ 6.0 under win 98 but have gotten stuck in one place. I am trying to read the strings of the combobox into the edit box when i click on the command button and the variables that i have declared are as follows:
combobox = m_combo1
editbox = m_edit1
The code in my onbutton function is as follows:
UpdateData(true);
CString a;
a = m_combo1;
a.MakeUpper( );
m_edit1 = a;
The problem is that i am not able to read in any values into the edit box
and whenever i click the button the editbox just remains empty.
Can someone please see what's wrong with my program and show me or
e-mail the entire codings of the right way to do this. My e-mail is
freesoft_2000@yahoo.com
Thank You
Yours Sincerely
Richard West
combobox = m_combo1
editbox = m_edit1
The code in my onbutton function is as follows:
UpdateData(true);
CString a;
a = m_combo1;
a.MakeUpper( );
m_edit1 = a;
The problem is that i am not able to read in any values into the edit box
and whenever i click the button the editbox just remains empty.
Can someone please see what's wrong with my program and show me or
e-mail the entire codings of the right way to do this. My e-mail is
freesoft_2000@yahoo.com
Thank You
Yours Sincerely
Richard West
![]() |
Similar Threads
- UILoader and TileList not loading (Graphics and Multimedia)
- Simple Java Script Question (JavaScript / DHTML / AJAX)
- importing data from excel to comboBox (VB.NET)
- VB.NET ComboBox & Statusbar HELP! (VB.NET)
- How to display dialog box items? (C)
- Issue related to combobox.... (VB.NET)
- Making T.Greer's JavaScript-synthesised combobox dynamic (JavaScript / DHTML / AJAX)
Other Threads in the C++ Forum
- Previous Thread: Backp/Restore HardDisk Image
- Next Thread: summations and combinations
| Thread Tools | Search this Thread |
api array based binary bitmap c++ c/c++ cdialogbar char class classes code coding compile console conversion convert count delete deploy desktop developer directshow dissertations dll double-linkedlist download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker loan loop looping loops map math matrix memory multiple news node number online output pagerank pointer problem program programming project python random read recursion recursive reference risk rpg string strings superclass temperature template test text text-file tree tutorial url validator variable vector video win32 windows winsock wordfrequency wxwidgets






