Community
    • Login

    Plugin, window selection

    Scheduled Pinned Locked Moved General Discussion
    10 Posts 3 Posters 2.7k 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.
    • AZJIO AZJIOA
      AZJIO AZJIO
      last edited by

      If the window has a two-window mode, then how to determine the active one? If I do a search or highlighting or put a marker, how do I determine which window to put it in?

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

        Take a look at this page. You’d be interested in NPPM_GETCURRENTSCINTILLA which will tells you the active instance (either the first or the second HWND)

        1 Reply Last reply Reply Quote 0
        • AZJIO AZJIOA
          AZJIO AZJIO
          last edited by

          With the clicks in different windows, I get the same values ​​for wParam and lParam

          Message.wParam.lParam
          5.0.61080832
          5.0.61080832
          5.0.61080832
          5.0.61080832

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

            Example usage:

            https://github.com/dail8859/DoxyIt/blob/10bdb723c04d74b8e40f49b39382e8a07712f1ae/src/PluginDefinition.cpp#L63-L68

            1 Reply Last reply Reply Quote 0
            • AZJIO AZJIOA
              AZJIO AZJIO
              last edited by

              I can not do.
              PureBasic
              http://purebasic.info/phpBB3ex/viewtopic.php?f=1&t=4891&start=45

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

                If you’d like more help you will have to actually describe the issue, explained what you’ve tried, and asked specific details.

                1 Reply Last reply Reply Quote 1
                • AZJIO AZJIOA
                  AZJIO AZJIO
                  last edited by

                  I don’t owe anyone like you shouldn’t.
                  If you can not read the previous post, then I will look for the problem myself

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

                    If you can not read the previous post…

                    I did read the previous post and the other forum you linked to. From the looks of it someone already answered your question…so again I don’t know what the problem is.

                    When you state “I can not do”, this does not tell me why you can’t do it…therefore I can’t help you.

                    Scott SumnerS 1 Reply Last reply Reply Quote 1
                    • AZJIO AZJIOA
                      AZJIO AZJIO
                      last edited by

                      Of course I read and tried. I do not like to talk much. If it turned out, I immediately wrote that this code works and posted the new version.

                      I did not begin to describe in more detail, since it requires the help of a lot of body movements (download the compiler, pick code). In the first post of the topic there is a link to the source code on another resource, that is, you do not need to register to download

                      1 Reply Last reply Reply Quote 0
                      • Scott SumnerS
                        Scott Sumner @dail
                        last edited by

                        @dail , @AZJIO-AZJIO

                        I’m with @dail, I can’t make much of it either…I guess the language barrier is too wide.

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