home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!cortex.prospect.com!mboucher
- From: mboucher@cortex.prospect.com (Mike Boucher)
- Subject: Re: Is it really this bad, or is it just me
- Organization: Cortex Corporation, Waltham, MA, USA
- Message-ID: <1992Jul31.094646.1@cortex>
- Lines: 47
- Sender: news@ctr.columbia.edu (The Daily Lose)
- Date: Fri, 31 Jul 1992 14:46:46 GMT
- X-Posted-From: cortex.prospect.com
- X-Posted-Through: sol.ctr.columbia.edu
-
- In Message-ID: <1992Jul30.173531.14978@progress.com>, scott writes...
-
- >> OK, so what CAN you debug with a Windows debugger? For instance,
- >> it is clear that I can't set a breakpoint in the message handler
- >> for the scrolling messages. But my WM_VSCROLL handler eventually
- >> makes calls which invalidate the rectangle, resulting in a WM_PAINT
- >> message. WM_PAINT is ordinarily a low-priority message but it
- >> can be given higher-priority or still happen quite quickly.
-
- >> I've noticed if I'm debugging scrolling code that even if I
- >> set my breakpoint in my WM_PAINT message handler I still some-
- >> times get "extra" WM_PAINT messages for a single click on
- >> the "up" or"down" buttons on the scrollbar -- although the
- >> problem is not nearly as bad as with WM_VSCROLL.
-
- >Your probably not going to like this suggestion but; get yourself
- >a secondary monochrome monitor and video card (total cost <$100).
- >and then use CVW /2. When you hit a break point your focus
- >shifts to the secondary monitor so you don't get spurious (sp?)
- >messages sent to your WNDProc. I use this setup on my machine
-
- Funny, this is the setup I have and I have the same problem that started this
- thread. I don't get mouseup messages (thanx for explaining this!!), and I get
- WM_PAINT messages. I think the extra WM_PAINT messages are because removing or
- adding scroll bars changes the size of the window, causing a new WM_PAINT. One
- WM_SIZE can cause 3 (or if it's just right, and infinite loop) WM_PAINT
- messages. A second monochrome monitor makes life a little cleaner, no screen
- flicker from app to debugger, etc, but it does not remove the underlying
- problem!
-
- >> I don't have this problem debugging graphics apps with the Apollo
- >> debugger "dde" on Domain Workstations (Unix) here at work. Granted
-
- Likewise with the Mac...
-
- >> this is a "real" OS, not a toy one, but still, it doesn't seem like
-
- I love this quote!!
-
- Good luck, I've been programming windows for about 5 months now, and It will
- only get more fun!! NOT!!!
-
- c'ya
- --
- Mike Boucher mboucher@cortex.prospect.com
- Cortex Corp "Don't take life too seriously, you'll never
- Waltham, MA, USA get out of it alive!"
-