Windows context menu handler
See original GitHub issueCurrently I’m working on a context menu handler for Windows Explorer. I wrote it in Delphi and was able to port it to Lazarus/FPC. It runs fine.
Installation of the handler is done via regsvr32 "<path-to-DLL-file>"
and requires admin rights. The handler needs the path to CudaText in order to be able to run it. Currently I place the DLL file in the same directory like CudaText, thus I’m able to retrieve Cud’s path by retrieving the DLL path and adding CudaText.exe
.
What is your opinion about storage path of the DLL? What do you think is the best way of integrating the handler’s installation into CudaText?
Issue Analytics
- State:
- Created 4 years ago
- Comments:25 (25 by maintainers)
Top Results From Across the Web
Shortcut (Context) Menus and Shortcut Menu Handlers
This section discusses the creation of shortcut (context) menus, and the implementation of shortcut menu (verb) handlers.
Read more >How to edit the Windows 10 context menu - TechRadar
Press the Windows key and R simultaneously, type regedit and press Enter. Navigate to HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers and you ...
Read more >How to Clean Up Your Messy Windows Context Menu
We're going to show you how you can remove items by editing your Registry, as well as an easier cleanup method using a...
Read more >Add, Remove Context Menu items in Windows 11
The Right Click Menu or the Context Menu is the menu, which appears when you right-click on the desktop or a file or...
Read more >How to Customize the Windows 10 Context Menu - TechSpot
You can also add and remove items from context menus from the Windows Registry, though it isn't as easy or reliable as using...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@vhanla
With a context menu entry based on simple registry keys it is not possible to open more than 15 files. If you select more than 15 files in an Explorer window, the context menu entry disappears.
Moreover, with a context menu entry based on simple registry keys Explorer starts an instance of CudaText for every selected file. My context menu extension starts only one instance of CudaText for every packet of 125 files. Thus, startup speed increases significantly.
Ok, I am closing this, DLLs will be in next Cud release