G
Guest
Hi,
I'm creating a game dev kit where I need to switch between MDI and SDI mode.
MDI is used when displaying the IDE with editors etc, in SDI mode only the
"game" window is displayed, optionally with a few editors remaining open.
However, setting MdiParent once the child windows has been Shown() causes
strange refresh and focusing problems, e.g. a child window will not receive
focus when clicking on anything else than the title bar or resize borders.
It's very easy to recreate the problem; I can post the code if necessary.
I don't want to Close() the forms and re-open them, because there's a lot of
complex data in them that I don't want to have to serialize for loading at
re-load time.
Can I do anything about this?
I'm creating a game dev kit where I need to switch between MDI and SDI mode.
MDI is used when displaying the IDE with editors etc, in SDI mode only the
"game" window is displayed, optionally with a few editors remaining open.
However, setting MdiParent once the child windows has been Shown() causes
strange refresh and focusing problems, e.g. a child window will not receive
focus when clicking on anything else than the title bar or resize borders.
It's very easy to recreate the problem; I can post the code if necessary.
I don't want to Close() the forms and re-open them, because there's a lot of
complex data in them that I don't want to have to serialize for loading at
re-load time.
Can I do anything about this?