• Login
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.
  • A
    AZJIO AZJIO
    last edited by Jul 5, 2018, 5:42 PM

    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
    • D
      dail
      last edited by Jul 6, 2018, 1:13 AM

      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
      • A
        AZJIO AZJIO
        last edited by Jul 6, 2018, 10:47 AM

        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
        • D
          dail
          last edited by Jul 6, 2018, 12:17 PM

          Example usage:

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

          1 Reply Last reply Reply Quote 0
          • A
            AZJIO AZJIO
            last edited by Jul 8, 2018, 11:12 AM

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

            1 Reply Last reply Reply Quote 0
            • D
              dail
              last edited by Jul 8, 2018, 11:49 AM

              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
              • A
                AZJIO AZJIO
                last edited by Jul 10, 2018, 7:25 PM

                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
                • D
                  dail
                  last edited by Jul 10, 2018, 7:45 PM

                  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.

                  S 1 Reply Last reply Jul 10, 2018, 9:36 PM Reply Quote 1
                  • A
                    AZJIO AZJIO
                    last edited by Jul 10, 2018, 9:26 PM

                    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
                    • S
                      Scott Sumner @dail
                      last edited by Jul 10, 2018, 9:36 PM

                      @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
                      9 out of 10
                      • First post
                        9/10
                        Last post
                      The Community of users of the Notepad++ text editor.
                      Powered by NodeBB | Contributors