Access to Carbon and Win32 window handle from Max
Aug 03 2011 | 6:51 am
Hello all, I am currently trying to create an external with a GUI. I want to use VSTGUI to manage the GUI (since this module already exists in VST, and I do not want to code the GUI fully once again) I think that Max/MSP is able to deal with VSTGUI (since my plugin loads perfectly with vst~) but I can not find how to create the window needed by VSTGUI. On Win32, VSTGUI requires a WINDOW handle. On Mac, it requires a Carbon window pointer. Basically, Max has to create the window, then it defers everything else to VSTGUI.
Does anybody know how to create a window (most precisely, get the window handle) from a Max external coded in C/C++ ?
Thanks by advance for your help