mIRC Home    About    Download    Register    News    Help

Print Thread
Middle clicking with scroll button #160281 25/09/06 04:49 AM
Joined: Sep 2006
Posts: 13
L
Lhurgoyf3 Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: Sep 2006
Posts: 13
Is there any way to program mIRC to close tabs with a middle click (scroll button) like you can do with tabs in firefox? Double click would be nice too...

Re: Middle clicking with scroll button #160282 25/09/06 07:00 PM
Joined: Jul 2003
Posts: 655
Om3n Offline
Fjord artisan
Offline
Fjord artisan
Joined: Jul 2003
Posts: 655
I dont think mirc should alter the behavior of mouse buttons at all. Most mice with extra buttons and scroll wheels allow use configuration of what they do, mirc should not overide this. And tbh, neither should firefox.


"Allen is having a small problem and needs help adjusting his attitude" - Flutterby
Re: Middle clicking with scroll button #160283 25/09/06 07:46 PM
Joined: Jan 2003
Posts: 2,523
Q
qwerty Offline
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Most mice with extra buttons and stuff come with software that allows you select a function for each button; one of the choices is "default", meaning that it will do whatever it would do by default in Windows (this really only applies to the usual middle button/wheel; there isn't any 'default' function for extra buttons). The default operation of the middle button is certainly (meant to be) programmable. If "default" isn't selected in the mouse software though, mirc (or firefox etc) has no control over the button, so there really is no problem. Middle click customization is in fact a very popular feature in many programs.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Re: Middle clicking with scroll button #160284 25/09/06 11:27 PM
Joined: Jun 2004
Posts: 65
S
sdamon Offline
Babel fish
Offline
Babel fish
S
Joined: Jun 2004
Posts: 65
I agree. in right handded configuration, left is select, right is context menu, and middle is program spicific. I have seen no standard from microsoft or any linux distro to define default actions for the middle mouse button. Apple gets no say on standards beacuse they break them every chance they get.

The middle mouse/scroll button should be programed to your hearts content. though..i would prefer that this be handeled in scripting.

Re: Middle clicking with scroll button #160285 26/09/06 12:13 AM
Joined: Jan 2003
Posts: 2,523
Q
qwerty Offline
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
By 'default' I meant the WM_MBUTTONDOWN message posted to a window when the user middleclicks. On most standard win32 controls that have a scrollbar, including mirc dialog listboxes for example, the result is the appearance of the scroll disc (allowing to scroll up/down moving the mouse).


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Re: Middle clicking with scroll button #160286 26/09/06 08:50 AM
Joined: Jan 2003
Posts: 1,063
D
Doqnach Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,063
also it doesn't really alter the behaviour at all... just expanding. middle clicking (that is: pushing button that has the 'middle button' action) over a tab would normally have no action at all so giving that the ability to close the tab shouldn't really be a problem for any functions the mouse might have.


If it ain't broken, don't fix it!
Re: Middle clicking with scroll button #160287 26/09/06 07:55 PM
Joined: Jul 2003
Posts: 655
Om3n Offline
Fjord artisan
Offline
Fjord artisan
Joined: Jul 2003
Posts: 655
I guess i was replying on the assumption that the over ride was regardless of its outside setting. ie: over ride somebody's configured function. However i suppose when configured to use defaults program specific customisation is useful. Especially since the default autoscroll is of little use in the majority of mirc.


"Allen is having a small problem and needs help adjusting his attitude" - Flutterby
Re: Middle clicking with scroll button #160288 30/09/06 04:44 AM
Joined: Feb 2004
Posts: 201
J
Jae Offline
Fjord artisan
Offline
Fjord artisan
J
Joined: Feb 2004
Posts: 201
Quote:
close tabs with a middle click (scroll button)

there's always the age old problem of is for example you have server notices show in a custom window.. or for some reason windows are created higher in the switchbar.. then if you goto say close a channel or query using Shift+LeftClick then you could end up closing something you didnt mean to close.. anyone else ever had this problem? i oculdnt see anything in search.

Re: Middle clicking with scroll button #160289 30/09/06 04:22 PM
Joined: Dec 2002
Posts: 1,527
L
landonsandor Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,527
the way I've worked my mouse is the middle button (scroll wheel) is set up in the software to be a double click. Then in mirc, I just set my double click responses in mirc's options


Those who fail history are doomed to repeat it