Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone know if there is a hot key I can press to activate horizontal scrolling with my mouse wheel in Visual Studio 2010?

e.g. Pressing 'ctrl' while scrolling the mouse wheel would scroll the window to the left/right instead of up/down.

I believe Photoshop has this feature, though I can't remember the exact key of the top of my head. I think it's either 'ctrl' or 'alt'.

Edit: Middle-click does not do it for me, I'm looking for a hot-key.

share|improve this question
    
Yes, it is Ctrl, but to be fair, Photoshop is a graphics program. VS is a text program and like most text programs, holding Ctrl while scrolling changes the text size. – Synetech Mar 30 '12 at 17:43

Install Autohotkey and this script:

^+WheelUp::  ; Scroll left.  
ControlGetFocus, fcontrol, A  
Loop 20  ; <-- Increase this value to scroll faster.  
    SendMessage, 0x114, 0, 0, %fcontrol%, A  ; 0x114 is WM_HSCROLL and the 0 after it is SB_LINELEFT.  
return  

^+WheelDown::  ; Scroll right.
ControlGetFocus, fcontrol, A  
Loop 20  ; <-- Increase this value to scroll faster.  
    SendMessage, 0x114, 1, 0, %fcontrol%, A  ; 0x114 is WM_HSCROLL and the 1 after it is SB_LINERIGHT.  
return
share|improve this answer
    
doesnt work for me :( – Vazgen Oct 13 '14 at 18:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .