Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simulating a WAIT WINDOW
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00854354
Message ID:
00854551
Vues:
12
I assume you mean the wait window nowait feature? The regular wait window should be easy.

I was toying with the idea of creating a wait window .net but never got around to implementing it correctly. The problem is that the wait window needs its own message loop for processing windows messages. I think you need to use muti-threading to make it work. Meaning you need to use Thread.Start or create a delgate and use the BeginInvoke method of the delegate. I'll see if I can dig up my old code.

>I'm trying to simulate a WAIT WINDOW function in VB.Net, so I have created a small non-modal form with one label on it to hold the message. I pass the text message to show as a parameter, but the message does not appear. I have tried form.Refresh(), Form.Invalidate(), change the label to a textbox and many other methods to force the message to be painted, all without success. It does "flash" for moment just as the form is reactivated before it is closing.
>
>What am I missing here? I just want an on-screen message without waiting for user input that I can later close after processing is complete.
>
>Anyone know the technique I need to use?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform