[gmpi] Re: Req 76,78

  • From: "Didier Dambrin" <didid@xxxxxxxxx>
  • To: <gmpi@xxxxxxxxxxxxx>
  • Date: Fri, 4 Feb 2005 03:46:46 +0100

>Let's say your plugin has a window, so a window handle. You probably want
this under Windows, because you'd prefer the plugin to get his own
kb/mouse/whatever management (instead of sending it dumb mouse message in a
very non-windows compliant way like VST & the quite bad VSTGUI a lot of
people unfortunately use).
So you need to rely on window handles, and I can't imagine, since it's all
message-based, attaching a window from another process into yours. In fact,
I can only think of bad things with UI in another process.

from my limited understanding, the only requirement win32 makes is that the event handling for a given window be done in the thread from which the window was created. this doesn't conflict with reparenting. i may be wrong - i don't claim to know anything about win32, and what i do know has come from implementing binary vst/win32 plugin support for linux.

it might or might not, true that you can reparent a window, to for example the desktop. But I can't imagine the focusing, mouse & keyboard handling, all message-based, working that way.

But I'll leave other windows programmers comment on that requirement.

---------------------------------------------------------------------- Generalized Music Plugin Interface (GMPI) public discussion list Participation in this list is contingent upon your abiding by the following rules: Please stay on topic. You are responsible for your own words. Please respect your fellow subscribers. Please do not redistribute anyone else's words without their permission.

Archive: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: