Re: Newbie Question: Doing tasks after form displays 'on load'
- From: "Olaf Baeyens" <olaf.baeyens@xxxxxxxxxx>
- Date: Tue, 19 Apr 2005 10:39:57 +0200
> Do you (or anyone else) know if there is there an event that fires (on the
> main thread) AFTER the form has initally drawn itself? I would be content
to
> have the form frozen whilst the data is collected. At the moment, using
> OnLoad to load my data, it is frozen before anything is displayed - ie (in
> an SDI) the user double- clicks the exe file and then waits (with
'nothing'
> happening) for 10 seconds for the data to load and the form to paint.
>
You want to start doing stuff after the window has correctly painted without
using a thread.
In C# I have no clue yet how to do it, but in the MFC way, there existed a
"idle" windows message that I used to trigger execution after the paint. So
maybe someone here can find out how to do that in C#?
.
- Follow-Ups:
- Re: Newbie Question: Doing tasks after form displays 'on load'
- From: Olaf Baeyens
- Re: Newbie Question: Doing tasks after form displays 'on load'
- References:
- Newbie Question: Doing tasks after form displays 'on load'
- From: Damien Sawyer
- Re: Newbie Question: Doing tasks after form displays 'on load'
- From: Bruce Wood
- Re: Newbie Question: Doing tasks after form displays 'on load'
- From: Damien Sawyer
- Newbie Question: Doing tasks after form displays 'on load'
- Prev by Date: ProgressBar in SOAP over HTTP
- Next by Date: Re: GraphicsPath performance problems advice needed
- Previous by thread: Re: Newbie Question: Doing tasks after form displays 'on load'
- Next by thread: Re: Newbie Question: Doing tasks after form displays 'on load'
- Index(es):
Relevant Pages
|