Jump to content

Recommended Posts

Posted (edited)

An .NET application I'm working with has two tabs. When I select a tab to make its controls visible, the application hangs for a bit before displaying them.

Is there a way to programatically determine if a window has rendered (painted) all of its controls?

Edited by zfisherdrums
Posted (edited)

Zedna,

Yes. That is one way. Thank you for the suggestion.

The problem is that the controls change dynamically depending on an option selected in a ListView.

> Option 'X' exposes 'Control1' which, when pressed, invokes behavior 'X'

> Option 'Y' exposes 'Control1' which, when pressed, invokes behavior 'Y'

So 'Control1' is the common denominator, but its context changes. I was looking for a way around hard-coding wait states. Looks like I may have to do that anyway.

Thanks again for your reply and your help.

Edited by zfisherdrums

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...