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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/15/08 13:48
Read: times


 
Msg Score: +1
 +1 Good Answer/Helpful
#153383 - More thoughts
Responding to: ???'s previous message
Please reread my previous post, then please answer the questions in the first paragraph. From the information you've supplied so far, it's not clear exactly where you're trying to do your formatting. You need to give the context of the code snippet you've provided.

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? I don't see anything like that in your code.

From some of the comments you've made ("the edit box is either set to 'CString' or 'CEdit' but not both", "I've been getting pretty familiar with the class wizard", "I just can't seem to fwrite it correctly", etc.), I'd guess that you're in over your head already. I think you're going to have trouble trying to hack an existing program without understanding the fundamentals. In my opinion, "sink or swim" is not a very good approach for learning MFC, and trying to use tools like the Class Wizard without understanding what you are doing is just going to make things worse.

So I'd suggest one of two approaches. If all you need to do is modify this one program and then get on with your life, then just find somebody who can do it for you. On the other hand, if you want to be a proficient Windows programmer, then back up and start from the beginning. Programming Windows with MFC by Jeff Prosise is a good place to start if you need to support existing MFC/C++ programs. If you plan on doing mostly new stuff, then you might consider learning C# and .NET instead (although that won't help you directly with your present problem).

-- 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