Re: MDI Client Repaint

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I had flickering issue with windows as well (but not in the MDI context,
though..)

I could suggest this 2 thing:
- use Hide() 1st, then Close()
- set Opacity=0, then Close()

"pramod" <pramod@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:53BED508-9BF2-489C-9850-D32EFE3521C8@xxxxxxxxxxxxxxxx
> Hi,
> I have created a MDI Form with the formborderstyle = NONE so that it
> does not display any title bar and control buttons. This MDI form host a
> child form with the same attibutes ( i.e formborderstyle = NONE ). The MDI
> form contains set of buttons. On pressing each button a new child form is
> created and previously displayed form is closed. When a transition happens
> from one form to another, there is flicker. This flicker happens because
> the
> title and the border of the child form is displayed for a moment which
> should
> not be shown.
> Has anyone got suggestions as to how to avoid this flickering problem
> during the repainting of child forms so that the title and the border are
> not
> displayed.


.


Quantcast