• Login
Community
  • Login

Docking Position for dialog window

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
3 Posts 2 Posters 3.1k 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.
  • T
    Timothy Harrington
    last edited by Jul 13, 2016, 4:41 PM

    Anyone have the same issue I am having?

    The code I am using is below and the window remains docked to the right side of the window no matter how I change the value… NppTbMsg.DWS_DF_CONT_LEFT or NppTbMsg.DWS_DF_CONT_TOP
    for example and the window still stays docked to the right-hand side. Is there a better way of doing this? I simply want a window that cannot be moved which will showup in the middle of the notepad++ screen,

    nppTbData.uMask = NppTbMsg.DWS_DF_CONT_LEFT | NppTbMsg.DWS_ICONTAB | NppTbMsg.DWS_ICONBAR;

    Win32.SendMessage(PluginBase.nppData._nppHandle, (uint) NppMsg.NPPM_DMMREGASDCKDLG, 0, _ptrNppTbData);

    C 1 Reply Last reply Jul 14, 2016, 12:22 AM Reply Quote 0
    • C
      Claudia Frank @Timothy Harrington
      last edited by Jul 14, 2016, 12:22 AM

      @Timothy-Harrington

      no, the reason might be that npp remembers it last location.
      Open the config.xml with an editor other than npp and delete the entry
      of your plugin under GUIConfig name=“DockingManager” section.
      Start npp and open your plugin window and it should dock on the left side.

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 0
      • T
        Timothy Harrington
        last edited by Jul 14, 2016, 5:32 PM

        Thanks Claudia…let me try that…I do appreciate it.

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