Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enums and parameters question
Message
From
01/11/2002 15:44:10
 
 
To
01/11/2002 14:58:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00717746
Message ID:
00718015
Views:
17
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform