Community
    • Login

    Display default tab contextmenu

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    7 Posts 4 Posters 2.2k Views 2 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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 Offline
              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 Online
                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 Offline
                  Oleksandr
                  last edited by Oleksandr

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

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors