Contextual Menu Plugins
Contextual Menu Plugins
- Subject: Contextual Menu Plugins
- From: Steve Gehrman <email@hidden>
- Date: Mon, 13 May 2002 18:31:13 -0700
Cocoa is really great. It automatically loads contextual menu plugins
and adds the new items to my contextual menus. The problem is that I
need to be able to set the AEDesc* inContext parameter before it passes
it to the plugin through examineContext.
Currently Cocoa sets the AEDesc descriptorType == 'null' and calls the
plugin.
Has anyone solved this problem? Is there a secret API to do this?
Here's the stack trace:
_SNAXCMPlugInExamineContext receives a 'null' AEDesc. I need a way on
Cocoa to set this AEDesc before it gets called.
_SNAXCMPlugInExamineContext (SNAXFinderCM.m:322) << -- here's the cmm
plugin
_ExamineContext__21TContextualMenuPluginPC6AEDescR18TPluginCommandListUlRUc
_ExamineContext__25TContextualMenuPluginListPC6AEDescR18TPluginCommandListl
_ContextualMenuSelect
__NSPopUpCarbonMenu
-[NSCarbonMenuImpl _popUpContextMenu:withEvent:forView:]
-[NSMenu _popUpContextMenu:withEvent:forView:]
-[NSMenu _popUpMenuWithEvent:forView:]
-[NSView rightMouseDown:]
-[NSControl _rightMouseUpOrDown:]
-[NSControl rightMouseDown:]
-[NSWindow sendEvent:]
-[CTFastResizeWindow sendEvent:]
-[NSApplication sendEvent:]
-[CTApplication sendEvent:]
-[NSApplication run]
_NSApplicationMain
_main
__start
start
Thanks,
-steve
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.