>When you use CHECKSTATE.Checked, how does it know which control you are referring to? Or is this a CLASS-level property? or am I confused?
>
>Cecil
It's an enumeration (a variable that can have one of a list of values). They're nicer than things like include files so you can have meaningful values instead of numbers - think about the parameters in MESSAGEBOX in VFP:
MESSAGEBOX("Hello", 64, "Title")
You could use a value from a header file in the above code.
In .NET you can use an enumeration (which is nice since it shows you the allowable values and you get intellisense):
(this is the .NET equivalent):
MessageBox.Show("Hello", "Title", MessageBoxButtons.OK, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1);