Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » LineEdit, EditFields, DocEdit » [FEATURE] Horizontal scroll on Shift+mouse wheel
[FEATURE] Horizontal scroll on Shift+mouse wheel [message #28547] Mon, 06 September 2010 15:38 Go to next message
dolik.rce is currently offline  dolik.rce
Messages: 1781
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi everyone!

I have a little proposal. It is pretty standard behavior, at least on Linux, that mouse wheel scrolls the window horizontally when holding the shift key. I am quite used to this so I often use this scrolling, especially in theide code editor (I have really small screen...), just to find out over and over again that it doesn't work Smile

I would be very happy, if LineEdit::MouseWheel() could be changed to allow this behaviour. The code:
void LineEdit::MouseWheel(Point, int zdelta, dword keyflags) {
	if(keyflags&K_SHIFT)
		sb.WheelX(zdelta);
	else
		sb.WheelY(zdelta);
}


Thank you,
Honza

[Updated on: Mon, 06 September 2010 20:20]

Report message to a moderator

Re: [FEATURE] Horizontal scroll on Shift+mouse wheel [message #29213 is a reply to message #28547] Mon, 11 October 2010 09:40 Go to previous message
mirek is currently offline  mirek
Messages: 13442
Registered: November 2005
Ultimate Member
Why not, thanks.

Mirek
Previous Topic: Is there a way to make EditDouble return 0 if it has no value?
Next Topic: [SECURITY] Drag-n-drop enabled in password fields
Goto Forum:
  


Current Time: Fri Oct 22 21:18:02 CEST 2021

Total time taken to generate the page: 0.01127 seconds