home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / mswindo / programm / misc / 1119 < prev    next >
Encoding:
Internet Message Format  |  1992-07-31  |  2.9 KB

  1. Path: sparky!uunet!pmafire!news.dell.com!swrinde!sdd.hp.com!apollo.hp.com!netnews
  2. From: nelson_p@apollo.hp.com (Peter Nelson)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Re: Is it really this bad, or is it just me
  5. Message-ID: <Bs9DFF.GIM@apollo.hp.com>
  6. Date: 31 Jul 92 14:54:50 GMT
  7. References: <1992Jul29.155112.7877@microsoft.com> <Bs7KA6.2DC@apollo.hp.com> <1992Jul30.173531.14978@progress.com>
  8. Sender: usenet@apollo.hp.com (Usenet News)
  9. Organization: Hewlett-Packard Corporation, Chelmsford, MA
  10. Lines: 51
  11. Nntp-Posting-Host: c.ch.apollo.hp.com
  12.  
  13. In article <1992Jul30.173531.14978@progress.com> briggs@progress.COM (Scott Briggs) writes:
  14. >nelson_p@apollo.hp.com (Peter Nelson) writes:
  15. >
  16. >>In article <1992Jul29.155112.7877@microsoft.com> gregde@microsoft.com (Greg Demichillie) writes:
  17. >>>In article <1992Jul28.134522.11108@usenet.ins.cwru.edu> turnbull@ces.cwru.edu (John Turnbull) writes:
  18. >>>>In article <1992Jul28.090409.1@cortex> mboucher@cortex.prospect.com (Mike Boucher) writes:
  19. >>>>>
  20. >
  21. >[stuff deleted]
  22. >
  23. >>  OK, so what CAN you debug with a Windows debugger?   For instance, 
  24. >>  it is clear that I can't set a breakpoint in the message handler
  25. >>  for the scrolling messages.   But my WM_VSCROLL handler eventually
  26. >
  27. >Your probably not going to like this suggestion but;  get yourself
  28. >a secondary monochrome monitor and video card (total cost <$100).
  29. >and then use CVW /2.  When you hit a break point your focus 
  30. >shifts to the secondary monitor so you don't get spurious (sp?)
  31. >messages sent to your WNDProc.
  32.  
  33.   I *DO* use dual monitor debugging.   The problem isn't with the displays,
  34.   it's with the mouse event handling.    And I've received plenty of
  35.   email from CodeView users who confirm that the problem I'm describing 
  36.   occurs just as frequently with the Microsoft environment.
  37.  
  38.   So you're saying that with your setup you can have a Windows program
  39.   that has scroll bars (using the Windows API) with a WndProc that has
  40.   a handler for WM_VSCROLL with a case statement for SB_LINEDOWN and 
  41.   if you set a breakpoint in the SB_LINEDOWN code and click on the 
  42.   "down" button of the scrollbar (at which point control is transferred
  43.   to the debugger to handle the breakpoint) and only get one message
  44.   for that click?   
  45.  
  46.   I've got the Microsoft C/C++ 7.0 product installed on my machine,
  47.   although I have never used it, because I was already using the
  48.   Borland product and I didn't want to climb the learning curve of 
  49.   another environment, especially when more people seemed to prefer
  50.   the Borland environment (And besides I have no more room for the
  51.   manuals so I keep them in a box under my desk!).    But if the 
  52.   Microsoft debugging environment is more problem-free than the 
  53.   Borland one I might consider switching  --  I don't want to use
  54.   both regularly all this mental gear-changing: Microsoft | Borland
  55.   at home, Apollo Domain | HP HP-UX at work, gives me headaches! 
  56.  
  57.   BTW, does the Microsoft environment have an equivalent to Winsight?
  58.  
  59.   
  60. ---peter
  61.  
  62.   
  63.  
  64.