首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > VC >

ATL中加载图片资源要如何弄

2012-01-20 
ATL中加载图片资源要怎么弄?RT[解决办法]Use Windows API. See FindResource, LoadResource, LockResource

ATL中加载图片资源要怎么弄?
RT

[解决办法]
Use Windows API. See FindResource, LoadResource, LockResource.
After you call these three in sequence, you end up with the resource in a memory buffer and you have a pointer to the beginning of said buffer. You can now save it to disk file or do whatever you want.

[解决办法]
LoadBitmap, LoadImage, LoadResource
[解决办法]
LoadAccelerators Loads an accelerator table DestroyAcceleratorTable
LoadBitmap Loads a bitmap resource DeleteObject
LoadCursor Loads a cursor resource DestroyCursor
LoadIcon Loads an icon resource DestroyIcon
LoadMenu Loads a menu resource DestroyMenu
LoadString Loads a string resource No action needed

[解决办法]
http://topic.csdn.net/t/20030718/09/2042532.html
[解决办法]
http://www.21cnvip.net/TopicView/list5472860.html

热点排行