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

  1. Path: sparky!uunet!olivea!decwrl!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!sousa.ltn.dec.com!decwin.enet.dec.com!gmccoy
  2. From: gmccoy@decwin.enet.dec.com
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Multiple Scroll Bars
  5. Message-ID: <1368@sousa.ltn.dec.com>
  6. Date: 22 Jul 92 19:25:52 GMT
  7. Sender: newsa@sousa.ltn.dec.com
  8. Reply-To: gmccoy@decwin.enet.dec.com ()
  9. Organization: Digital Equipment Corporation
  10. Lines: 19
  11.  
  12.  
  13.  
  14. I am using multiple scroll bar controls in a dialog box and I'm having
  15. trouble selecting between them.
  16.  
  17. I think the problem is in the handling or not handling of
  18. SB_ENDSCROLL. I don't handle this message in my dialog procedure,
  19. but I notice it is sent when I let up on the mouse button.
  20.  
  21. The effect is to have the scroll bar continuous selected. For example,
  22. If I have clicked the left or right scroll arrow, it stays selected
  23. even when I let up on the button. When I move off the scrollbar arrow,
  24. I no longer receive SB_LINEDOWN or SB_LINEUP messages, but start
  25. receiving them again as soon as I move back onto the arrow.
  26.  
  27. My question is how to handle SB_ENDSCROLL? Should the defWindowProc
  28. be handling this message? Thanks for the help.
  29.  
  30. Gary
  31.