CODDib::LoadImage

Load the image from a resource.

Defined in: OdDib.cpp

Syntax

BOOL CODDib::LoadImage(UINT nID, CDC *pDC)

BOOL CODDib::LoadImage(UINT nID)

BOOL CODDib::LoadImage(LPCTSTR lpszFileName)

Return Value

Non-zero if successful; otherwise zero.

Parameters

nID

Integer resource ID.

lpszFileName

The filename of an image file.