简体   繁体   中英

Where can I find ListView control styles?

I spent a while searching the internet, but cannot seem to find a list of ListView styles or exstyles. I'm interested in finding out the value for:

LVS_EDITLABELS

as well as others. Is there any place where these are listed? I see a lot of examples online, but not list the values of the styles. They are simply called by name.

The header files for the windows platform SDK define these values. If you're using Visual Studio then you may already have a copy of the platform SDK installed on your machine; look for a folder named "PlatformSDK." The ListView styles are defined in CommCtrl.h:

#define LVS_EDITLABELS          0x0200

它在CommCtrl.h中定义为

#define LVS_EDITLABELS  512

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM