** Disregard **
- Posted by ssallen Dec 07, 2009
- 1011 views
Hello,
I know win32lib is back-burnered until at least the official eu4 release but I just wanted to notify (Derek?) that the mousetrap events don't seem to recognize right click events.
procedure Window1_onMouseTrap (integer self, integer event, sequence params)--params is ( int event, int x, int y, int z, seq traps, int id, int shift ) if params[1] = RightUp then popup(Popup_101, params[2], params[3]) end if
If I change RightUp to RightDown or DoubleClick I get nothing. Changing it to LeftUp or LeftDown triggers the popup as expected. Is this intended behavior and I am missing something? Either way, just thought I would let you know.
Thanks! Steve A.
EDIT: DISREGARD ALL ABOVE! I'm an idiot and didn't see filterMouseTrap().
Thanks! Steve A.