Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MESSAGEBOX
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00365597
Message ID:
00366041
Vues:
24
>Actually, I was pointing out the method Windows uses to store and decipher the value(s) passed. The values I used above will retrieve any of the values used when they've been added together. Since we're on the subject of #DEFINEs
#DEFINE BUTTON_VALUES 7
>#DEFINE ICON_VALUES 240
>#DEFINE DEFAULT_BUTTON_VALUES 786
>#DEFINE MODALITY_VALUES 12288
>* lnvalue is some combination of MessageBox() flags
>lnbutton = BITAND(lnvalue, BUTTON_VALUES)
>lnicon = BITAND(lnvalue, ICON_VALUES)
>lndefault = BITAND(lnvalue, DEFAULT_BUTTON_VALUES)
>lnmodality = BITAND(lnvalue, MODALITY_VALUES)
Not much to it.

Ah, I gotchya.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform