• Login
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.
  • O
    Oleksandr
    last edited by Feb 22, 2019, 12:49 PM

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

    A 1 Reply Last reply Feb 22, 2019, 1:03 PM Reply Quote 0
    • A
      Alan Kilborn @Oleksandr
      last edited by Feb 22, 2019, 1:03 PM

      @Track77

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

      1 Reply Last reply Reply Quote 3
      • O
        Oleksandr
        last edited by Feb 22, 2019, 9:48 PM

        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

        M 1 Reply Last reply Feb 22, 2019, 10:15 PM Reply Quote 0
        • M
          Meta Chuh moderator @Oleksandr
          last edited by Feb 22, 2019, 10:15 PM

          @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
          • O
            Oleksandr
            last edited by Feb 22, 2019, 11:41 PM

            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
            • P
              PeterJones
              last edited by Feb 22, 2019, 11:46 PM

              @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
              • O
                Oleksandr
                last edited by Oleksandr Feb 23, 2019, 9:17 AM Feb 23, 2019, 9:17 AM

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

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