Resizing programmatically

For general discussion related FlowStone
Post Reply
VPDannyMan
Posts: 118
Joined: Mon Jan 04, 2010 4:50 am

Resizing programmatically

Post by VPDannyMan »

Does anyone know of a way to return paramters such as the hWnd of the vst plugin window? Getting this would open a lot of doors for us. We might even be able to ruby to make Win API calls and resize the window..!
User avatar
MyCo
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany
Contact:

Re: Resizing programmatically

Post by MyCo »

This wouldn't help. The resizing is done through the VST interface dispatcher (effEditGetRect)... That is a direct function call, so there is nothing you can do about it.
VPDannyMan
Posts: 118
Joined: Mon Jan 04, 2010 4:50 am

Re: Resizing programmatically

Post by VPDannyMan »

hmm..
I may be wrong here, ? but..
Unless the VST SDK does not use windows forms at all, but rather creates its own forms internally, then that editor window has an Hwnd and a DC. So my thoughts are if thats the case, then we should be able to change it independant of the VST SDK and its effEditGetRect. Instead I would think it (the editor window) would just fire a resize event we were done. Now in that case the question becomes what gets the resize event, the daw, or the editor window?

Or does the resize crash the system altogether? We'll never know until we can identify the editor window and make some of these calls..
Post Reply