开发者

What size should the ImageList for a ListView be?

开发者 https://www.devze.com 2023-02-04 01:20 出处:网络
I have a ListView, and I don\'t know how b开发者_Go百科ig to make the ImageLists for large and small, and group header icons. How big should they be?I would suggest

I have a ListView, and I don't know how b开发者_Go百科ig to make the ImageLists for large and small, and group header icons. How big should they be?


I would suggest

32x32 pixels for large and group header

ex. in MFC

// The pointer to my image list.
extern CImageList* pmyImageList;
pmyImageList->Create(32, 32, ILC_COLOR8, 0, 4);

small might be 16x16.

see here for possible insight into Microsoft's sizing recommendations.

http://msdn.microsoft.com/en-us/library/ms997636.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消