Hello,
I've added an implementation for IActiveScriptSiteWindow to the WindowsScriptEngine.ScriptSite class which allows the user to provide a window handle for parenting dialogs. The code can be found at:
https://lr-senergy.kilnhg.com/Code/ODM-OpenSource/Group/ClearScript
or in the attached patch.
Currently EnableModeless is not implemented - this could be made to fire an event in the WindowsScriptEngine class, perhaps.
If it's possible to merge this (or a version of it) into the official codebase, that would be great.
Thanks, Owen
Comments: Fixed in [Version 5.4.2](https://clearscript.codeplex.com/SourceControl/changeset/bfd06449d9e70818985d855319b7bc3a955313aa).
I've added an implementation for IActiveScriptSiteWindow to the WindowsScriptEngine.ScriptSite class which allows the user to provide a window handle for parenting dialogs. The code can be found at:
https://lr-senergy.kilnhg.com/Code/ODM-OpenSource/Group/ClearScript
or in the attached patch.
Currently EnableModeless is not implemented - this could be made to fire an event in the WindowsScriptEngine class, perhaps.
If it's possible to merge this (or a version of it) into the official codebase, that would be great.
Thanks, Owen
Comments: Fixed in [Version 5.4.2](https://clearscript.codeplex.com/SourceControl/changeset/bfd06449d9e70818985d855319b7bc3a955313aa).