• Login
Community
  • Login

dockable dialog and mouse events

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
5 Posts 2 Posters 3.2k 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.
  • R
    rinku singh
    last edited by Dec 10, 2018, 11:01 AM

    hi i want to build a plugin with c#
    on mouse enter dockable dialog width should increase
    on mouse leave dockable dialog width should decrease

    E 1 Reply Last reply Dec 11, 2018, 12:36 PM Reply Quote 0
    • E
      Eko palypse @rinku singh
      last edited by Eko palypse Dec 11, 2018, 12:36 PM Dec 11, 2018, 12:36 PM

      @gurikbal-singh

      One way would be to listen to mouse move messages
      and then to act accordingly. In C# it might look like this .

      Eko

      R 1 Reply Last reply Dec 11, 2018, 1:05 PM Reply Quote 1
      • R
        rinku singh @Eko palypse
        last edited by Dec 11, 2018, 1:05 PM

        @Eko-palypse

        i was tried so far but not work for me there
        so i have solution :-
        i create a new form and this form working there ++ transparency
        and I created object here in new independent form

        E 1 Reply Last reply Dec 11, 2018, 1:13 PM Reply Quote 0
        • E
          Eko palypse @rinku singh
          last edited by Eko palypse Dec 11, 2018, 1:13 PM Dec 11, 2018, 1:13 PM

          @gurikbal-singh

          Sorry but I have very very little experience with C# so I can’t say for sure what your issue is but
          as you said you already found a solution then it is ok, isn’t it :-)

          Eko

          R 1 Reply Last reply Dec 11, 2018, 2:53 PM Reply Quote 0
          • R
            rinku singh @Eko palypse
            last edited by Dec 11, 2018, 2:53 PM

            @Eko-palypse
            dialog is dialog after all
            form can perform as dialog by code this.dialog.show();
            but i’m used this.show();

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