P
Paul Loveless
Hi all. I'm developing a simple mdi application that has sizeable child
forms. In the parent window, there is a menubar with a 'Window' menu. I've
set the 'Window' menu MDIList property to true so that it will display a
list of open child windows at runtime. When I run the program to test its
functionality, I open several child windows. I then maximize one of the
child forms to fill the parent window. When I select a different child
window via the list of child windows displayed under the 'Window' menu, the
new child window will briefly flash on the screen. I suspect that it is
maximizing. However, when I select another child window that has already
been maximized, the brief flash still occurs. This flash occurs regardless
of whether or not I am running a debug or release version of the program
through visual studio or the stand-alone exe file.
Is there a way to programmatically stop this flashing effect? I've tried
different ideas, but none have been successful. I know that the flashing
does not affect the functionality of the program, but it is mildly annoying.
Each child window is created and opened with the following code:
private void mnuFileNewChild_Click(object sender, System.EventArgs e)
{
MDIChild newChild = new MDIChild();
newChild.MdiParent = this;
newChild.Show();
}
MDIChild is the class name of the child form which is nothing more than a
simple form that consists of some controls to help illustrate the flashing
effect and the stock pre-generated form code.
Thanks in advance for any responses.
Paul
forms. In the parent window, there is a menubar with a 'Window' menu. I've
set the 'Window' menu MDIList property to true so that it will display a
list of open child windows at runtime. When I run the program to test its
functionality, I open several child windows. I then maximize one of the
child forms to fill the parent window. When I select a different child
window via the list of child windows displayed under the 'Window' menu, the
new child window will briefly flash on the screen. I suspect that it is
maximizing. However, when I select another child window that has already
been maximized, the brief flash still occurs. This flash occurs regardless
of whether or not I am running a debug or release version of the program
through visual studio or the stand-alone exe file.
Is there a way to programmatically stop this flashing effect? I've tried
different ideas, but none have been successful. I know that the flashing
does not affect the functionality of the program, but it is mildly annoying.
Each child window is created and opened with the following code:
private void mnuFileNewChild_Click(object sender, System.EventArgs e)
{
MDIChild newChild = new MDIChild();
newChild.MdiParent = this;
newChild.Show();
}
MDIChild is the class name of the child form which is nothing more than a
simple form that consists of some controls to help illustrate the flashing
effect and the stock pre-generated form code.
Thanks in advance for any responses.
Paul