Thank you Luca. I run your sample and it worked as desired. However, I don’t seem to be able to have the patch work in my Solution. I have added into a Platform folder under my main project, set the MessageBoxPatch.js to Embedded Resource and uncommented the AssemblyInfo WisejResources(ExcludeList: “”) line. Rebuild the Solution and still don’t see it working. To be really sure, I left the “maximize” working, but nothing. Would you know of anything else I should check?
If you are using VB.NET the Platform folder doesn’t work because of the way the VB.NET compiler creates embedded resources. You can keep the Platform folder (VB.NET ignores it) but rename the file “Platform.MessageBoxPatch.js) see https://wisej.com/docs/2.2/html/EmbeddedResources.htm (for VB.NET developers warning).