dreamer
Feb 24 2006, 07:34 AM
Is it possible to get some of the other SciTE's menu commands on the viewer's context menu?
I've added some of my own commands to the Tools menu but don't have access to it within the viewer.
Thanks
ps Really appreciate having your plugin
mrblobby
Feb 24 2006, 03:55 PM
Hi,
No it isn't as I don't have "access" to them or what they do.
dreamer
Feb 25 2006, 08:21 AM
I posed my question with just a hunch it was possible.
I'm not really a programmer but could understand some code.
So with the help of SCV, I went and took a look at the sources of DOpus viewer plugin SDK, scintilla and SciTE.
Learning programming with the help of SCV makes things easier. Just being able to scan and view multiple files and get hilighting and function hints speeds things up.
Inside the viewerpluginSDK doc:
Image Viewer messages
? VPCAPABILITY_ADDCONTEXTMENU
Viewer wants to be able to add its own items to the context menu displayed when the user right-clicks the viewer window. If set, Directory Opus will send your viewer a
DVPLUGINMSG_ADDCONTEXTMENU message when appropriate.
Looking at the scintilla and SciTE sources gave me n idea how menus and commands get created and called.
I wish I was a proficient enough programmer to contribute more and write the necessary code to add to your plugin. But am not and just learning and would probably take me some time to get any more headway.
The functionality I was hoping for was to access some extra "tidy" commands.
Hope you have time to look into this.
Much appreciated
mrblobby
Feb 25 2006, 09:47 AM
Hi,
I think you misunderstood what I was saying.
Of course I add menus to SCV ... I don't have access to the SciTE menu's you've created or the ability to execute them in order to invoke them against the current file.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.