winforms

What value is LVM_SCROLL assigned?


For example SW_HIDE is assigned to 0:

Public Const SW_HIDE = 0

What value is LVM_SCROLL assigned to?

Where can this value and other constant values be found?

I program in a language called PL/B. It gives access to execute windows APIs, but it does not have all the constants defined. Of course, the examples on the Web use the constant name so I have to track down the value.

I normally found these values in a file called WIN32API.TXT. It has many constant's values defined but as I found out it does not have LVM_SCROLL defined.


Solution

  • PInvoke.Net will tell you:

     public enum ListViewMessages : int  
     {   
          LVM_FIRST = 0x1000,   
          LVM_SCROLL = (LVM_FIRST + 20)   
     }