Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/16/08 01:34
Read: times


 
#153418 - Well, no
Responding to: ???'s previous message
Chris said:
I click on the MFC wizard, it shows bold object ID is IDC_DEVICE and the message is EN_CHANGE, and assigned variable name m_strDeviceAddress.

Is this what you were looking for? If not I can screen shot all the tabs in classwizard if that helps....

Well, no. That's not what I was looking for, and I don't think that screen shots from the Class Wizard will help. I had several questions that I thought were clear enough when I wrote them the first time. For ease of reference, here they are again:
  • You've shown a bit of code. I suppose it's extracted from some event handler function that's magically called by the MFC framework. Is that correct?
  • If so, which handler function is it?
  • If not, what then?
  • What, exactly, do you mean by the statement "I've found that the edit box is either set to "CString" or "CEdit" but not both ..."?
  • The edit box is almost certainly an object of type CEdit. I don't understand what you mean when you talk about "setting" it to some other type. Do you mean that you are assigning the CEdit box to a CString object?
What I'm trying to sort out here is exactly where in your program that the snippet you posted came from, how 'm_strDeviceAddress' is declared, how its value gets set, and what, exactly, you mean when you say that the edit box is "either set to "CString" or "CEdit" but not both ...".

Can you give simple and direct answers to the individual questions above instead of just ignoring them? Can you post the entire program (including the VC++ project files) so that we can see how the little snippet fits in with everything else?

-- Russ


List of 18 messages in thread
TopicAuthorDate
C++, 8051, cleaning up a mess......need advise            01/01/70 00:00      
   Trying to convert after typing is too hard            01/01/70 00:00      
   Take a look here...            01/01/70 00:00      
      I gave that a run,            01/01/70 00:00      
   Maybe this will help            01/01/70 00:00      
      Thanks Russ, some thoughts            01/01/70 00:00      
         More thoughts            01/01/70 00:00      
            Your right, you know how it is            01/01/70 00:00      
      Is this it?            01/01/70 00:00      
         Well, no            01/01/70 00:00      
            Hopefully I can answer this correctly            01/01/70 00:00      
               Is Prosise onlin?            01/01/70 00:00      
                  Emailed link to you            01/01/70 00:00      
               Two more questions            01/01/70 00:00      
                  Placeholders for array data            01/01/70 00:00      
               Stop now, before you make things worse!            01/01/70 00:00      
                  No offense taken at all            01/01/70 00:00      
                     I got the link            01/01/70 00:00      

Back to Subject List