DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: IDEA: Mouse Wheel Moves Cursor Bar When Text Box Has Focus  (Read 4,496 times)

thefritz_j

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 75
When typing in a text box, what if the mouse wheel would move the cursor bar left or right when you rolled up or rolled down?  (up = left, down = right)

It would be important to only override the wheel function when a text entry box is in focus.

Maybe this is do-able with Auto Hot Key? Maybe no?

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: IDEA: Mouse Wheel Moves Cursor Bar When Text Box Has Focus
« Reply #1 on: June 15, 2010, 11:34 AM »
I don't know about how to do the restriction to text entry fields well, but as for the remapping, may be something like:

Code: (autohotkey)
WheelUp::Left
WheelDown::Right

See Remapping Keys and Buttons for more details on remapping.
« Last Edit: June 15, 2010, 11:36 AM by ewemoa »

Original address: https://www.donationcoder.com/forum/index.php?topic=23094.0