CImageList::Draw怎么画Normal, Hot(原Image图片高亮), Select(原Image图片变暗), 和Disable(原Image图片变灰)的四个状态. 同上,我目前是用CDC的BitBlt来画的, 我想显示32*32以下的图片,用CImageList::Draw应该会比CDC::BitBlt速度快些吧(个人想法) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 CDC dcMemory;ImageList.Draw(&dcMemory, nImageIdx, CPoint(0,0), ILD_NORMAL); //正常图标#define ILD_NORMAL 0x00000000#define ILD_TRANSPARENT 0x00000001#define ILD_MASK 0x00000010#define ILD_IMAGE 0x00000020#if (_WIN32_IE >= 0x0300)#define ILD_ROP 0x00000040#endif#define ILD_BLEND25 0x00000002#define ILD_BLEND50 0x00000004#define ILD_OVERLAYMASK 0x00000F00#define INDEXTOOVERLAYMASK(i) ((i) << 8)#define ILD_PRESERVEALPHA 0x00001000 // This preserves the alpha channel in dest#define ILD_SCALE 0x00002000 // Causes the image to be scaled to cx, cy instead of clipped#define ILD_DPISCALE 0x00004000#define ILD_SELECTED ILD_BLEND50#define ILD_FOCUS ILD_BLEND25#define ILD_BLEND ILD_BLEND50 occcont.cpp 925行出错 windows api 函数的地址,在不同版本中是固定不变的吗? 菜鸟问一个DrawText的问题 怎样判断两台计算机之间是否支持多播(组播) 传输的视频干扰 关于HelloWin的一点小修改 SQL SERVER会内存泄漏吗? 请各位给一个AutoCAD的DWG文件格式的文档。急用!在线等待! 怎样才能提高积分呀 通过鼠标滚轮对自己绘制的图形进行放大缩小 vs2008有没有dependency walker? 串口编程,如何处理回车等键
ImageList.Draw(&dcMemory, nImageIdx, CPoint(0,0), ILD_NORMAL); //正常图标
#define ILD_NORMAL 0x00000000
#define ILD_TRANSPARENT 0x00000001
#define ILD_MASK 0x00000010
#define ILD_IMAGE 0x00000020
#if (_WIN32_IE >= 0x0300)
#define ILD_ROP 0x00000040
#endif
#define ILD_BLEND25 0x00000002
#define ILD_BLEND50 0x00000004
#define ILD_OVERLAYMASK 0x00000F00
#define INDEXTOOVERLAYMASK(i) ((i) << 8)
#define ILD_PRESERVEALPHA 0x00001000 // This preserves the alpha channel in dest
#define ILD_SCALE 0x00002000 // Causes the image to be scaled to cx, cy instead of clipped
#define ILD_DPISCALE 0x00004000#define ILD_SELECTED ILD_BLEND50
#define ILD_FOCUS ILD_BLEND25
#define ILD_BLEND ILD_BLEND50