Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wait window replacement
Message
De
25/09/2019 17:07:55
 
 
À
24/09/2019 04:41:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01671072
Message ID:
01671140
Vues:
63
>Hi!
>
>We want do replace the old fashioned wait window.
>So we've made an new nice Form and everything looks good ;)
>
>Bud: The behavior of the wait window is much different to a normal form. A Wait window call never fires a deactivate of an active form. Bud a form does.
>So: What do you do?
>
>Any suggestions to provide activates/deactivates?

I have created a DLL with wait_window() and wait_window_clear(). They run in a separate thread with their own message handlers, and the windows are top-level windows without a tie in to the parent's message queue thread, meaning they won't stall as VFP's message queue sometimes stalls if you steal focus away from the window and come back.

It updates 30 times per second max, but you can send it thousands of things per second and it will simply update with whatever's there when the 30 times per second ticks come around.

I'll post the code in the next day or so.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform