Read and respond to this message at:
As for the closing, you have to explicitly call
I dont know how your form worked, but looking at the results of the close button
I guess the window did close but the pane was left open, leaving a grey area.
To show your dialog again call
I work with c++ so it goes probably a bit different. I find it most convienient
to create a non visible window (in win32 its CreateWindow with the visible flag
not set) and then register it, and letting notepad++ do all the other work (in
fact, as soon as notepad calls for the dialog to show, it gets created first
if it doesnt exist, then it explicitly calls the show function).
If you ever going to make a toolbar icon or support checking the menu item, use
(again c++, the import thing to keep in mind is the index of the array with
funcItems, currently with your plugin its 0).
Currently I think a close button is convienient if the menu function isnt a
toggle, but if you were to make it a toggle option and/or add a toolbar icon,
I think it isnt that badle needed. Thats how most of the dockable plugins work
atm I think (though obviously that does not have to mean its a standard ;])
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: