Hi,
A user of a framework of mine (a simple graphing framework named
PHGraph, to be found at http://www.mpkju.fr/~graphview ) reported a
problem with some mouse actions :
The view is a custom view, configured so that :
- a left click zoom in, alt+right click zoom out
- right click (and the equivalent ctrl+left click) shows a contextual
menu (export graph to pasteboard as pdf, tiff...)
problem is : ctrl+alt+left click shows the contextual menu too, and
not the proper zoom out action
The contextual menu is obtained by overriding +defaultMenu class
method (PHGraphView is a NSView subclass)
It seems that the view instance does not receive mouseDown: nor
rightMouseDown: event for a ctrl+alt+left click, but instead the
contextual menu appears.
If I comment out the +defaultMenu class, a rightMouseDown event is
sent for a ctrl+alt+left click... as it should...
Any idea what I am doing wrong ?
Regards,
Pierre-Henri Jondot
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com