home *** CD-ROM | disk | FTP | other *** search
- 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
- From: gmccoy@decwin.enet.dec.com
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Multiple Scroll Bars
- Message-ID: <1368@sousa.ltn.dec.com>
- Date: 22 Jul 92 19:25:52 GMT
- Sender: newsa@sousa.ltn.dec.com
- Reply-To: gmccoy@decwin.enet.dec.com ()
- Organization: Digital Equipment Corporation
- Lines: 19
-
-
-
- I am using multiple scroll bar controls in a dialog box and I'm having
- trouble selecting between them.
-
- I think the problem is in the handling or not handling of
- SB_ENDSCROLL. I don't handle this message in my dialog procedure,
- but I notice it is sent when I let up on the mouse button.
-
- The effect is to have the scroll bar continuous selected. For example,
- If I have clicked the left or right scroll arrow, it stays selected
- even when I let up on the button. When I move off the scrollbar arrow,
- I no longer receive SB_LINEDOWN or SB_LINEUP messages, but start
- receiving them again as soon as I move back onto the arrow.
-
- My question is how to handle SB_ENDSCROLL? Should the defWindowProc
- be handling this message? Thanks for the help.
-
- Gary
-