Thread View: comp.windows.ms.programmer
3 messages
3 total messages
Started by Muffy Barkocy
Tue, 28 Jul 1992 16:58
scroll arrow goes crazy - why?
Author: Muffy Barkocy
Date: Tue, 28 Jul 1992 16:58
Date: Tue, 28 Jul 1992 16:58
23 lines
1493 bytes
1493 bytes
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
Re: scroll arrow goes crazy - why?
Author: Peter Nelson
Date: Tue, 28 Jul 1992 20:04
Date: Tue, 28 Jul 1992 20:04
22 lines
1656 bytes
1656 bytes
In article <MUFFY.92Jul28115801@anableps.berkeley.edu> muffy@anableps.berkeley.edu (Muffy Barkocy) writes: > >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? If this is happening the the debugger then I would say it sounds like exactly the same problem that I described here recently where TDW, and I'm told Codeview, gets multiple SB_LINEDOWN messages because of some screwup with it's mouse handling. ---peter
Re: scroll arrow goes crazy - why?
Author: Randy Azarian
Date: Fri, 31 Jul 1992 22:50
Date: Fri, 31 Jul 1992 22:50
4 lines
680 bytes
680 bytes
I would also recommend that you NOT use Spy for looking at your messages when trying to ascertain a scroll bar problem. For some reason scroll bars do not paint properly and do other odd things when Spy has the focus of a window that contains a scroll bar.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads