Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How QUIT when messagebox is on screen?
Message
 
 
À
30/11/1998 15:07:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00162432
Message ID:
00162808
Vues:
23
>>>>Have a c++ timer running in the background. The cpptimer.fll executes a custom method (oapp.killitcheck) every 10 seconds. When a killit.wrn file is found, the client is given a messagebox asking to quit. When a killit.ded file is found, the cleanup routine is executed., and the client is exited from the app. My cleanup routine is not being working if the client never responded to the original messagebox.
>>>>
>>>>I am not sure if oapp.killitcheck is not being executed with the messagebox up, or if the killit.ded code is being executed but the program will not QUIT with a messagebox up. Guess I do not understand much about timers or messageboxes. Anyone have any ideas?
>>>>
>>>>Thanks - Brenda

<snip>

>Messagebox can be killed by timer, e.g. KEYBOARD '{ENTER}' in Timer.Timer event

How can I know if the messagebox is still displayed. Want to send the enter if it is displayed. Do not want to send the enter if the user has already pressed enter.

thanks - brenda
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform