Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with MessageBoxIndirect API
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01070654
Message ID:
01071640
Vues:
34
>> I am just half guessing here, I havent seen you MessageBoxIndirect sample or your Extended MessageBox Class. I guess the Extended MessageBox Class uses the undocumented MessageBoxTimeout API function for timed MessageBoxes, so you cant have a user icon there.

Take a look at C++ and C# code samples at the same page. Especially C#, it can be easily converted to similar VFP code.

* * *
There's nothing too much undocumented behind the Extended MessageBox code sample. It is based on the fact that VFP Timer object keeps ticking behind the MessageBox dialog.

The dialog is supposed to halt any FoxPro activity while it lasts. Not with the Timer, so I just hook some API calls to its very first Timer event. Those calls locate the dialog's window and make required changes.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform