Link to home
Start Free TrialLog in
Avatar of yaron89
yaron89

asked on

Blinking display when hiding form

I open  FormB from FormA using FormB.ShowDialog(FormA).
When I hide FormB the display blink and showing the desktop for several miliseconds.
When I use Show() instead of ShowDialog() it works OK.
I got an error trying to set FormB.Parent=FormA, and Setting FormB.Owner=FormA did not help.
How can I solve this?
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Can you show us the actual code where you create the form and display it?

Also, why are you hiding FormB?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
...so what was the issue?