CODImageEntry::LoadIcon
Load the image from an icon.
Defined in: OdImageCache.h
Syntax
inline BOOL CODImageEntry::LoadImage(UINT nID, CDC *pDC)inline BOOL CODImageEntry::LoadImage(LPCTSTR lpszFileName)
Return Value
Non-zero if successful; otherwise zero.
Parameters
nID
Resource ID of image.
pDC
Device context for convert from bitmap to DIB.
lpszFileName
Name of an image file.
crFill
Fill color to use transparent areas of icon.