Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Threading Question
Message
De
21/08/2002 12:00:49
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Threading Question
Divers
Thread ID:
00692021
Message ID:
00692021
Vues:
62
Hello everyone, I have a multi-threaded VB.NET application. When the application starts a main form is loaded. Inside the load event, there is code that starts another thread. On this thread, a form is instantiated, and moved off the screen so that the user cannot see it. This form will run in the background and appear periodically when the user input is needed. Although the form is not visible to the user, it still has focus, because it was started last in the thread process. My question is, how can I return focus back to the main form that instantiated the new thread? Any ideas? I assume it would be like jumping from one application to another by clicking on the item in the start bar, but I don't know how to do it programmatically. Thanks for the help.
Randy Belcher
AFG Industries, Inc.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform