This project has moved. For the latest updates, please go here.

Custom Windows Forms editor window

Dec 22, 2010 at 7:01 PM

Hi. I've just created a base for my generator and have a simple question: What should be to put in the EditorOpen method overriden in StdPluginCommandStub to show nice Windows Forms window in my DAW?

I'm working in FL Studio 9 (but i think it's no matter). My experiments since now just ended with two editor windows: one black belongs to DAW, one >NET's in separate window. I used Control.FromHandle method to get native DAW window for being parent of my editor. So what should be default code to solve this issue? THanks for help in advance.

Dec 22, 2010 at 7:52 PM

OK. I've successfully used built in wrapper class with help of MidiNoteMapper example. Again, great library :)

Dec 23, 2010 at 6:28 AM

Exactly. You can use the WinFormsControlWrapper helper class to attach a WinForms Control to a host provided editor window (frame).

See also the CorePlugin example for a WPF version and the MidiNoteMapper sample for how to use the WinFormsControlwrapper class.

Glad you like it.