View previous topic :: View next topic |
Author |
Message |
wahorger
Joined: 13 Oct 2014 Posts: 1217 Location: Morrison, CO, USA
|
Posted: Fri Dec 29, 2017 10:16 pm Post subject: Can a %cw utilize the mouse wheel for vertical scrolling? |
|
|
I'd like to have the window scroll the text (users are used to that feature). Using vscroll with a %cw allows the thumb to interact with the displayed window, but not the mouse wheel.
Any chance this can be done? I'm curious! |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7932 Location: Salford, UK
|
Posted: Sat Dec 30, 2017 7:58 am Post subject: |
|
|
Yes this feature can be easily added and this has now been done ready for the next release of ClearWin+. |
|
Back to top |
|
|
wahorger
Joined: 13 Oct 2014 Posts: 1217 Location: Morrison, CO, USA
|
Posted: Sat Dec 30, 2017 5:53 pm Post subject: |
|
|
Thanks, Paul! |
|
Back to top |
|
|
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2390 Location: Yateley, Hants, UK
|
Posted: Sun Dec 31, 2017 10:09 pm Post subject: |
|
|
Just out of interest, does this apply to all controls with scroll bars (%hx and %vx). I'm aware that %cw and %eb have their own scrolling mechanisms (as FTN95.chm puts it). If so, how do you scroll horizontally with the scroll wheel on a mouse?
Eddie |
|
Back to top |
|
|
wahorger
Joined: 13 Oct 2014 Posts: 1217 Location: Morrison, CO, USA
|
Posted: Mon Jan 01, 2018 12:54 am Post subject: |
|
|
I have known some programs that let you hold the SHIFT key (or some other key), then use the mouse wheel to horizontally scroll.
My desire was just to have the window scroll vertically since the lines wrap in a %cw used as a console display. Horizontal scrolling for such a window makes no sense. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7932 Location: Salford, UK
|
Posted: Mon Jan 01, 2018 10:21 am Post subject: |
|
|
The message number is defined via WM_MOUSEWHEEL and this is processed by some controls such as %eb, %ht, %gr and now %cw. There may be the potential to add others on request. I guess that %re should also work because it uses a standard Microsoft control.
A nice feature is to use the mouse wheel whilst holding down the control key. This commonly increases/decreases the size of the font and is implemented by some editors such as Plato and Visual Studio and by some browsers.
The mouse wheel can also serve as a middle mouse button and this raises other possibilities.
Left and right movements on a mouse wheel (as opposed to a rotation or a simple click) might be interpreted (with some mouse devices) as a different action. If so then there maybe the potential for an intuitive horizontal scroll.
In theory you can use %mg to add your own functionality but that might not be much fun. |
|
Back to top |
|
|
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2390 Location: Yateley, Hants, UK
|
Posted: Mon Jan 01, 2018 10:44 am Post subject: |
|
|
Many thanks for the replies, it was out of interest that I asked, not a real need.
E |
|
Back to top |
|
|
wahorger
Joined: 13 Oct 2014 Posts: 1217 Location: Morrison, CO, USA
|
Posted: Mon Jan 01, 2018 2:55 pm Post subject: |
|
|
It's all good! One never knows when some comment/code segment/code-ask will have a use in your application!
And Happy New Year! |
|
Back to top |
|
|
wahorger
Joined: 13 Oct 2014 Posts: 1217 Location: Morrison, CO, USA
|
Posted: Thu Jan 04, 2018 10:26 pm Post subject: |
|
|
Paul, do you have an anticipated date for the new Clearwin+ release? |
|
Back to top |
|
|
|