home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / ms / programm / 7395 < prev    next >
Encoding:
Internet Message Format  |  1992-07-26  |  1.5 KB

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