[Closed] Extended Viewport – Maxscript Editor
Hi guys, I’ve been wondering about this for a long time and I’d like to know if there’s a way to have a viewport to be the Maxscript Editor window… currently we can have the maxscript listener as a viewport so I thought that maybe it’s possible to do the same with the editor window… any insigth on this? Cheers and thanks.
I seem to recall somebody having placed an IRC chat window in a viewport – but can find no details of that now. But if you can do that, somehow, presumably putting the maxscript editor window in one shouldn’t be an issue.
They might’ve been using the same sort of thing as the “Excel Spreadsheet in Internet Browser Control as Extended Viewport” example, though – in which case it wouldn’t apply.
maybe you could try this :
-create 2 wrapper object , one for the viewport and one for the maxscript editor.
-switch the style of the editor object to something that have no border.
-set the size of the editor object to the size of the viewport.
-parent them here …I know there’s must be a way but I don’t know yet !
-or get\set their pos with a timer…
this library can create the object from their handle …
http://mwinapi.sourceforge.net/
I haven’t tried yet, so maybe this don’t work at all
Martin