Community
    • Login

    Display default tab contextmenu

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    7 Posts 4 Posters 1.5k Views
    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.
    • OleksandrO
      Oleksandr
      last edited by

      Hello to all.
      How to I can display the default tab’s contextmenu over my item?

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Oleksandr
        last edited by

        @Track77

        First you are going to have to explain what that means.

        1 Reply Last reply Reply Quote 3
        • OleksandrO
          Oleksandr
          last edited by

          I mean this contextmenu.
          I want show it over items in the “Windows Manager” dialog.
          https://drive.google.com/file/d/1sN7cy16W0pfeDN2cwP6ZhQlGkzjYbziv/view?usp=sharing

          Meta ChuhM 1 Reply Last reply Reply Quote 0
          • Meta ChuhM
            Meta Chuh moderator @Oleksandr
            last edited by

            @Track77

            you can use the tab’s context menus on your document list, if you use the built in “doc switcher” instead of “documents manager”.

            go to settings > preferences > general and enable show document list panel, as seen at the screenshot below.

            Imgur

            on the doc switcher you will have the same context menus on all files, as you have at each tab (see next screenshot)

            Imgur

            1 Reply Last reply Reply Quote 2
            • OleksandrO
              Oleksandr
              last edited by

              Thanks but forum name is "Plugin Development " :)

              This is a solution:

              SendMessage(PluginBase.nppData._nppHandle, NppMsg.NPPM_TRIGGERTABBARCONTEXTMENU, this.listViewDocs.Handle, focusedItem.TabIndex);
              focusedItem.TabIndex - index of opened document
              
              1 Reply Last reply Reply Quote 0
              • PeterJonesP
                PeterJones
                last edited by

                @Track77,

                Thanks but forum name is "Plugin Development " :)

                Not all plugin developers frequent this forum. You might look up the contact info for the Documents Manager plugin, and try to contact directly (either thru email or a repository “issues” page or equivalent). They’re probably be more willing to help, since you appear to have a patch to apply to the source code.

                1 Reply Last reply Reply Quote 1
                • OleksandrO
                  Oleksandr
                  last edited by Oleksandr

                  This is my version of “doc switcher” with ability to filter documents :)

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors