开发者

CMFCRibbonGallery Being slow

开发者 https://www.devze.com 2023-02-03 03:11 出处:网络
I am using the CMFCRibbonGallery control. I have 1 image it in comprised of 350 images total. Each image is 64hX128w. On the initial draw of the control it is slow. Every other time it is fast. I trie

I am using the CMFCRibbonGallery control. I have 1 image it in comprised of 350 images total. Each image is 64hX128w. On the initial draw of the control it is slow. Every other time it is fast. I tried addin开发者_高级运维g the 350 images individually at first but found that to be much slower cause it looks to be just making one large image like what I ended up doing. So I am wondering if there is anyway I can make this faster.


I ended up overloading OnDrawPaletteIcon which made me able to draw it much faster and manage the images myself.

0

精彩评论

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