FIX. RadForm - exception when showing maximized MDI children and there are other maximized windows already.
- Add 3 MDI child forms with a lot of gauges.
- Set their WindowState to maximized.
- Show each upon a button click.
Set the state of all forms to normal, before adding a new maximized form.
Detailed information is available here as well: https://social.msdn.microsoft.com/Forums/vstudio/en-US/e5d0721e-166a-426f-adff-ef00c2f541e0/error-creating-window-handle-innerexception-object-reference-not-set-to-an-instance-of-an-object?forum=csharpgeneral
Posted on:18 Apr 2017 14:48
Please take a look at the attached call stack. You can see that it does not have any reference to our methods. None of our methods are executed, this means that the issue cannot be solved at the level of our components.
Also many internet threads https://www.google.bg/search?q=mdi+child+maximize+problem+c%23+exception+Error+creating+window+handle&gws_rd=cr&ei=DSf2WJDJGsq1a4DUutAC have mentioned the exact issue with maximized mdi child forms.