Yes, also when i did weird things happened. I deduced that you cannot turn that window a QWidget because then Qt overwrites the callbacks of the host for that window. So i created a child in the win32 way and then use it for the QWidget.
Notice that i fixed a couple of bugs. An updated version is in: http://clam- project.org/clam/trunk/CLAM/examples/PluginExamples/VstPluginExample/ And the interesting (and clam independent bits, regardless the name), are in QClamVstEditor.*xx This is very experimental stuff but I cannot dedicate time on this for some time, so if you manage to enhance the behaviour, i would be very glad if you can report it back. David. A Tuesday 14 April 2009 20:02:05, Andreas Beisler va escriure: > Hi David, > > I just had a quick look at the spike solution for creating vst plugins > with a qt gui. > > In QADelayEditor-0001.cpp I saw that you took the window handle that the > vst host passes to you and then you created a child window for that, > which is a QWidget. > Is there any way to re-use the window handle from the host directly? > I did some preliminary tests, but it failed. It just worked by creating > a new child window. > > Best regards, > Andreas > > _______________________________________________ > Clam-devel mailing list > Clam-devel@llistes.projectes.lafarga.org > https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel -- David García Garzón (Work) dgarcia at iua dot upf anotherdot es http://www.iua.upf.edu/~dgarcia _______________________________________________ Clam-devel mailing list Clam-devel@llistes.projectes.lafarga.org https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel