Community

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

    Display default tab contextmenu

    Plugin Development
    4
    7
    1136
    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.
    • Oleksandr
      Oleksandr last edited by

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

      Alan Kilborn 1 Reply Last reply Reply Quote 0
      • Alan Kilborn
        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
        • Oleksandr
          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 Chuh 1 Reply Last reply Reply Quote 0
          • Meta Chuh
            Meta Chuh @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
            • Oleksandr
              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
              • PeterJones
                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
                • Oleksandr
                  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
                  Copyright © 2014 NodeBB Forums | Contributors