home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.windows.ms.programmer:7395 comp.os.ms-windows.programmer.misc:1055
- Path: sparky!uunet!usc!sdd.hp.com!swrinde!elroy.jpl.nasa.gov!ames!agate!agate!muffy
- From: muffy@anableps.berkeley.edu (Muffy Barkocy)
- Newsgroups: comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc
- Subject: scroll arrow goes crazy - why?
- Message-ID: <MUFFY.92Jul28115801@anableps.berkeley.edu>
- Date: 28 Jul 92 16:58:01 GMT
- Organization: Natural Language Incorporated
- Lines: 23
- NNTP-Posting-Host: anableps.berkeley.edu
-
-
- I have an edit control in which I am trapping various WM_VSCROLL
- messages. Under certain circumstances, when I get an SB_LINEDOWN, I add
- lines to the window, position it to my satisfaction, and then return,
- without calling the default scroll handler. If those circumstances do
- not hold, I just call the default handler.
-
- So, what happens is that the little down arrow button at the bottom of
- the scrollbar gets "stuck" and keeps scrolling down until I click the
- mouse elsewhere. It seems clear that there is something I need to tell
- this button that the normal procedure would tell it (something like
- "you're back up, don't send more scrolling messages until you're pressed
- again"), but I don't know what this is. Can anyone help?
-
- Thanks...
-
- Muffy
- --
-
- Muffy Barkocy | muffy@mica.berkeley.edu | wi.4636@wizvax.methuen.ma.us
- ~Little round planet/in a big universe/sometimes it looks blessed/
- sometimes it looks cursed/Depends on what you look at, obviously/
- But even more it depends on the way that you see~ - Bruce Cockburn
-