I CAN get the associated icon just fine, and draw it accordingly, however, I want to extract the FULL Icon information not just the 32x32 (or the 16x16) pixels that the SHGetFileInfo allows.
我可以很好地获得相关的图标,并相应地绘制它,但是,我想要提取完整的图标信息,而不仅仅是SHGetFileInfo允许的32x32(或16x16)像素。
For instance, I might want to display the 128x128 icon (or even 256x256) that is stored in the icon file inside the executable. And I can only accomplish this with the full file name.
例如,我可能想要显示存储在可执行文件内的图标文件中的128x128图标(甚至256x256)。我只能用完整的文件名来完成这个任务。
Can anyone help me?
谁能帮我?
1 个解决方案
#1
According to http://msdn.microsoft.com/en-us/library/ms648045(VS.85).aspx, LoadImage() uses cxDesired and cyDesired parameters to choose the dimensions when loading an icon.
根据http://msdn.microsoft.com/en-us/library/ms648045(VS.85).aspx,RoadImage()使用cxDesired和cyDesired参数来选择加载图标时的尺寸。
#1
According to http://msdn.microsoft.com/en-us/library/ms648045(VS.85).aspx, LoadImage() uses cxDesired and cyDesired parameters to choose the dimensions when loading an icon.
根据http://msdn.microsoft.com/en-us/library/ms648045(VS.85).aspx,RoadImage()使用cxDesired和cyDesired参数来选择加载图标时的尺寸。