Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enums and parameters question
Message
De
01/11/2002 15:44:10
 
 
À
01/11/2002 14:58:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00717746
Message ID:
00718015
Vues:
18
Hilmar

In the example I gave with the wide range of numbers in the enum list, presumably, the API authors have to pick numbers that don't overlap? Is this right? How do you arrive at those numbers in the first place?

Is this similar to things like the MessageBox function where irrespective of the combination of values you add and feed into it, it arrives at a specific display/option result ?

If I used any range of numbers (all to the power of 2), could I assign these value to method options and then simply use Bitor/Bitand type functions to arrive at the result or combination I seek?

I have looked at these functions many times but the penny has never "dropped" <s>. This requirement today gave me a practical example because I initially saw what I needed to do but I was completely unsure how to do it. When bitor() was suggested, a tiny beam of light suddenly appeared but not a thorough or complete understanding.

I appreciate your explanation and patience.

Thank you.

Best
-=Gary
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform