Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by tmoody

  1. tmoody

    Need to show operator data

    Pete, Thanks, got it. Tim Moody
  2. tmoody

    Need to show operator data

    Normally I would set a line of text in a Static Text Box like this: CWnd* pWnd; CString TestString; pWnd = GetDlgItem(IDC_TESTTEXT); pWnd->SetWindowText(TestString); But if I do this, only the last line is displayed. CWnd* pWnd; CString TestString; CString...
  3. tmoody

    Need to show operator data

    Thanks, I'll give it a try, but I am still a little confused. The documentation for SetSel and ReplaceSel looks like it is for selecting or higlighting the text in an edit box. I just want to dump text into it and have the user be able to scroll back and lok at it. Tim Moody
  4. tmoody

    Need to show operator data

    Sorry for the first year question, but I searched to forum and couldn't find an answer. I need to display test results(CString) to a user in my dialog based app. I would just like to have a simple window, with a vertical scroll bar, so the operator can scroll back looking at the results. This...
  5. tmoody

    Bitwise shift question

    Sean, just a quick note. I write code for test equipment to test electronics product on a production line. I use the bitwise shift operator quite a bit. One of the routines I wrote receives a 32bit word, masks off the upper 24bits, writes the lower eight bits out a port, and then shits that...
  6. tmoody

    How to read pixel color (DOS)? ATI adapter

    Just a thought. Is the ATI an interlaced card??
  7. tmoody

    no leading zero's when outputting time

    Actually the syntax is %.3hu, the original guy on this thread always wanted three places for the milliseconds, at least the way I read it. I've never used the "h" specifier before, but I believe it means a "half word" or only 16 bits. Can anyone verify this?? tmoody
  8. tmoody

    Hello World Wont Work (((figure it out)))

    Let me answer your question with a question. Since the code snippet is syntactically and semantically correct, what errors would you expect??
  9. tmoody

    no leading zero's when outputting time

    The only advice I can give is this: Don't copy the examples out of the MSDN library and expect them to work. This IS microsoft, remember??
  10. tmoody

    Hello World Wont Work (((figure it out)))

    is this your first day in class, or are you just trolling?? tmoody
  11. tmoody

    Visual C++ With Windows2000 With serial com port

    El_Bench, I checked out the NTPort library and it looks pretty good, although I didn't download and try it. I would certainly give it a try if I had to write any serial port stuff from the ground up. Thanks! Tim Moody
  12. tmoody

    Visual C++ With Windows2000 With serial com port

    el_bench, I assume you are using MFC?? A simple example is included in the SDK. Go to Help and search for "Communications Demonstration". We use the DDK here at work, and I haven't written any code for the serial port, except DOS and Unix, both pretty simple compared to Bill's way. The...
  13. tmoody

    Visual C++ With Windows2000 With serial com port

    rdubois, Without looking at your code, I suspect the code is trying to directly access hardware. I am not familiar with 98 but this is a no-no on NT and 2000. No inp OR outp
  14. tmoody

    Serial Port Monitoring

    First off, you probably will have to write some code to handle this. There may be something already out there, but you are locked into it and you need to get a task done. I've done what you requested with remote equipment but since RS232 is rather stupid, you need to rely on hardware. Your...
  15. tmoody

    File Transfer Through Serial Port With Packages

    Another method for transfering packets thru a serial port that are a little easier to understand, but admittedly less robust are the "older" protocols like XModem, Ymodem, or even ZModem. The source for these are readily available. It's even pretty easy to write your own protocol for...

Part and Inventory Search

Back
Top