If you do a lot of work with the Windows API, you might notice that some API functions have flag-type parameters, and you usually pass API constants as the values for these parameters. Instead of putting multiple Public Const statements in a module the way the API Viewer gives them to you, you can group similar constants into enumerations and change the type of the parameter in the API function prototype to be the enumeration instead of a Long integer. This technique works only with Longs. The benefit is that the possible parameter values are displayed in the constant list as you