博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Windows Image Lists
阅读量:6984 次
发布时间:2019-06-27

本文共 1649 字,大约阅读时间需要 5 分钟。

 

参考:

 

  1. ImageList_Create Creates a new image list.
  2. ImageList_AddIcon Adds an icon or cursor to an image list. ImageList_AddIcon calls the ImageList_ReplaceIcon function.
  3. ImageList_ReplaceIcon(important) Replaces an image with an icon or cursor.  If i is -1, the function appends the image to the end of the list. Returns the index of the image if successful, or -1 otherwise.  
// Create a masked image list large enough to hold the icons. HIMAGELIST himlIcons = ImageList_Create(CX_ICON, CY_ICON, ILC_MASK, NUM_ICONS, 0); // Load the icon resources, and add the icons to the image list. HICON hicon = AfxGetApp()->LoadIcon(IDR_DEMOTYPE); int g_nBird = ImageList_AddIcon(himlIcons, hicon); hicon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); int g_nTree = ImageList_AddIcon(himlIcons, hicon);
  1. ImageList_Add  Adds an image or images to an image list.
  2. ImageList_Remove Removes an image from an image list.
  3. ImageList_Replace Replaces an image in an image list with a new image.
  4. ImageList_GetIcon Creates an icon from an image and mask in an image list.
  5. ImageList_GetIconSize Retrieves the dimensions of images in an image list. All images in an image list have the same dimensions.
  6. ImageList_GetImageCount Retrieves the number of images in an image list.
  7. ImageList_SetImageCount Resizes an existing image list.
  8. ImageList_Draw Draws an image list item in the specified device context.
  9. ImageList_Duplicate Creates a duplicate of an existing image list.
  10. ImageList_SetIconSize Sets the dimensions of images in an image list and removes all images from the list.
  11. ImageList_LoadImage  Creates an image list from the specified bitmap.
  12. SHGetImageList  Retrieves an image list.

转载地址:http://tivpl.baihongyu.com/

你可能感兴趣的文章
企业移动办公市场格局将定 随办如何突围?
查看>>
六大技巧提升员工信息安全意识
查看>>
保利协鑫多晶硅产量再创历史记录
查看>>
爱屋及乌 年轻投资者因喜爱Snapchat亏钱也买Snap股票
查看>>
物联网产品背后潜藏着危机
查看>>
阿里云将增设马来西亚数据中心 中国技术获赞
查看>>
与Netflix合作 美电视运营商推出4K频道
查看>>
Struts2中的Action
查看>>
Balluff推出刀具识别系统
查看>>
怎么写ERP实施方案?
查看>>
Shadow Brokers扬言兜售新漏洞攻击工具
查看>>
低照度监控前景广阔 企业展开激烈角逐
查看>>
美国支付巨头Verifone遭遇网络攻击
查看>>
开平推进智慧城市等领域信息化建设及公共数据资源共享
查看>>
宜兴电信成功跨界合作开拓农村物联网市场
查看>>
Oracle业务适合用PostgreSQL去O的一些评判标准
查看>>
多个常见代码设计缺陷
查看>>
今年光伏市场规模可达30GW 分布式有望占据三分江山
查看>>
因新漏洞问题 Firefox 49发布时间将延期一周
查看>>
WLAN产品形态之分层架构
查看>>