Open GoogleCodeExporter opened 9 years ago
To be honest, I don't think this has ever been implemented; you can, of course,
create your own custom PluginWindow class. You could add this feature to
PluginWindowWin, and submit a patch or put it in a clone so we can pull. You
can also handle the WindowsEvent which will pass all windows events directly
through so you can handle them however you want.
I can even throw it in real quick if you can give me an example of how to do
it; I'm not a big UI guy, so I don't know how to handle the event properly.
That's the main reason it hasn't been implemented yet =]
Original comment by taxilian
on 10 Nov 2010 at 5:05
Thanks you for the quick reply. I figure out now how to use WindowsEvent.
For the "patch", just append the following case into the switch into
PluginWindowWin::WinProc(...) (file src\PluginWindow\Win\PluginWindowWin.cpp):
case WM_SIZE:
{
ResizedEvent ev;
return SendEvent(&ev);
}
Original comment by eloi.cha...@airbus.com
on 10 Nov 2010 at 5:45
Hmm. I had forgotten that we don't pass the new size as part of the event; I
guess the theory is that you get the size from the PluginWindow. If you want to
contribute a bit more, it'd be nice to have a function on PluginWindowWin that
would return the new size of the HWND =]
I'll get resizedevent into trunk today; it'll be in the nightly build tomorrow
and it will be in 1.3.1 when we release that (probably soon, just waiting to
see if there are any issues with the bugfixes I put in yesterday)
Original comment by taxilian
on 10 Nov 2010 at 6:25
Original comment by taxilian
on 19 Nov 2010 at 8:27
Original issue reported on code.google.com by
eloi.cha...@airbus.com
on 10 Nov 2010 at 4:58