Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Folder as Workspace - Customizing context menu

    Plugin Development
    3
    3
    2203
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • StavM
      StavM last edited by

      Is it possible to customize the Context Menu of the Folder as Workspace panel via NppMsgs or such ?
      Could not find any documentation on the matter.

      1 Reply Last reply Reply Quote 0
      • dail
        dail last edited by

        There are no messages available to modify the menu at all.

        I’m not going to say it is impossible though. Maybe with enough knowledge of the win32 API it would be possible to somehow get the menu and subclass it or something…but this would non-trivial.

        1 Reply Last reply Reply Quote 0
        • Hrach Tumasyan
          Hrach Tumasyan last edited by Hrach Tumasyan

          Hello. In the source of “Folder as Workspace” there are commented lines of code for context menu that are:
          notepad-plus-plus/PowerEditor/src/WinControls/FileBrowser/fileBrowser.cpp
          line 753. IDM_FILEBROWSER_DELETEFOLDER
          line 775. IDM_FILEBROWSER_DELETEFILE

          this are quite good context menu items for “Folder as Workspace”. The thing is that I’ve no any experience regarding Notepad++ code editing who can include above functionalities to the code for the upcoming version.

          Thank you for your attention

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors