OSX menubar with mouse button 3

2009-11-28 Thread Beat Cornaz

How can I have the buttons which make  up the OSX menubar, react to :

mouseDown pButtonNr

if pButtonNr = 3 then
-- my script
   pass MouseDown pButtonNr 
end if

end mouseDown

If set as a button of a menu group in the stackwindow it works fine,  
but set as OSX menubar, it does not work. The normal menuPick code  
works fine, but I need to trap the mouseDown (with pButtonNr = 3).


It seems that as soon as the buttons of the menu group are set to OSX  
style, a whole different game is played. But I don't see why.


Thanks  best,

Beat Cornaz




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OSX menubar with mouse button 3

2009-11-28 Thread J. Landman Gay

Beat Cornaz wrote:

If set as a button of a menu group in the stackwindow it works fine, but 
set as OSX menubar, it does not work. The normal menuPick code works 
fine, but I need to trap the mouseDown (with pButtonNr = 3).


I don't think the OS X system menu recognizes different mouse buttons. 
(At least, I don't remember any apps that could use it.) Rev passes your 
menu group to the system menubar, so the behavior is limited to what OS 
X can do with it.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution