CImageList::FromHandle

static CImageList* PASCAL FromHandle( HIMAGELIST hImageList);

返回值:如果成功,则为指向CImageList对象的指针,否则为NULL。

参数:
hImageList指定图象列表。

说明:
指定图象列表句柄时,返回指向CImageList对象的指针。如果CImageList没有附加给句柄,则CImageList对象被创建和附加。此临时CImageList对象只有在事件循环中下一次应用有闲置时间时才有效,此时所有临时对象都已删除。

请参阅:CImageList::FromHandlePermanent