How to use combobox function

Reply

Join Date: Jun 2004
Posts: 609
Reputation: freesoft_2000 is an unknown quantity at this point 
Solved Threads: 7
freesoft_2000 freesoft_2000 is offline Offline
Practically a Master Poster

How to use combobox function

 
0
  #1
Jul 16th, 2004
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
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 141
Reputation: meabed is on a distinguished road 
Solved Threads: 2
Team Colleague
meabed's Avatar
meabed meabed is offline Offline
Junior Poster

Re: How to use combobox function

 
0
  #2
Jul 17th, 2004
Real Eyes Realize Real Lies
My Resume
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC