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:
01071059
Vues:
45
>All solved:
>
>How to display a user-defined icon in the MessageBox dialog
>http://www.news2news.com/vfp/?example=500
>

Great! Thanks! Too bad you have to pay to check it out.

But I think I will be able to do pretty much the same, with the help of Christian Ehlscheid instructions in this thread.

BTW I wonder what they use GlobalAlloc, GlobalFree, GlobalSize for?

Anyway, I am thinking its so much trouble to do it this way, having to build a resource only dll with the icons, just to show a custom icon on a messagebox, that I may just do an all foxpro code messagebox replacement class/function, using forms, etc.

(Christian: I found a sample to do a resource only dll easily with VB6)

That way I will be able to customize position (center on app for example, and not on screen), buttons position (center or right), icon, etc etc.

Thank you all for your comments, it has helped me a lot.

Carlos
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform