Example code on how to make my window dockable?

  • Matthew D'Onofrio

    I've got a basic plugin working which shows items under the "Plugins" menu with clickable entries. But for the life of me I can't figure out how to make a dockable tool window.

    I am using the following documentation pulled from an archive of the old wiki:

    But it does not go into how to dock a window.

    Can someone provide a watered down version of what needs to be done to register my window with notepad++ for this to work?

    I'm looking at the runtime functionality of the NppFTP plugin, for example, which seems to break the native Win32 parent/child window relationship. For example, the spawned tool window is a "child" of the notepad++ window, but can float outside of the client area..

    Would someone please walk me through the process on how to get a window created by my plugin to dock with notepad++?

  • dail8859

    dail8859 - 2014-09-03

    Go here and download the plugin template. It has example code for a dockable window. I haven't needed to create dockable windows myself, but it should be enough to get you started.

    Last edit: dail8859 2014-09-03