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