本文介绍了在WINCE上保存图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Windows CE 5.0设备上保存一个图标(从.exe资源中提取). CF.NET System.Drawing.Icon没有保存方法.

GetIconInfo给出一个ICONINFO结构.如果我可以从ICONINFO的颜色"和蒙版"位图中获取DIB位,则可以使用它来制作一个ICONIMAGE.但是,coredll没有GetDIBits函数.

Im trying to save an icon (that was extracted from .exe resource) on a Windows CE 5.0 device. CF.NET System.Drawing.Icon has no Save method.

GetIconInfo gives a ICONINFO structure. If I could get the DIB bits from the Color and Mask bitmaps in ICONINFO, then I could use this to make a ICONIMAGE. But, coredll has no GetDIBits function.

推荐答案


这篇关于在WINCE上保存图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-21 12:02