On Mar 26, 2012, at 11:04 AM, Nick wrote:

> Hi.
> I am wondering, if it is possible to disable a context (popup) menu
> for a PDFView control?
> I have subclassed it, and overridden mouseDown and rightMouseDown.
> I am receiving mouseDown event. But I do not receive rightMouseDown, I
> am getting context menu displayed instead...

I suspect you need to override +defaultMenu or -menuForEvent:, depending on 
what you need to accomplish.

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to