mIRC Home    About    Download    Register    News    Help

Print Thread
#222496 21/06/10 12:56 AM
Joined: Jul 2006
Posts: 4,145
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
Code:
alias clickmouse window -pd @a -1 -1 300 300
menu @a {
  mouse : echo -s mouse
  bug : noop $sfile(.)
}
When you right clic and select "bug", if you use a double click to open a file and if the mouse position is inside @a, the mouse event will trigger even if the mouse didn't move


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Wims #222497 21/06/10 03:00 AM
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Hi,

mIRC simply relays WM_MOUSEMOVE messages from Windows. Windows is telling mIRC that the mouse moved, and mIRC is relaying this message. It's not a bug. There's no guarantee that a "mouse" event (in mIRC) means the mouse's coordinates changed-- it simply means that Windows told mIRC the mouse moved. It could very well have moved from coordinate X,Y to the same X,Y.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
argv0 #222498 21/06/10 03:08 AM
Joined: Jul 2006
Posts: 4,145
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
Ok, but it's quite annoying.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard