CGDIBitmap::LoadBitmap

Loads a bitmap from the resource section of the module identified by hInstResource.

Defined in: GDIObjects.h

Syntax

bmp.LoadBitmap(lpszResourceName[, hInstResource]);

bmp.LoadBitmap(nIDResource[, hInstResource]);

Return Value

true if function is successful, false otherwise.

Parameters

lpszResourceName

Resource identifier.

nIDResource

Resource identifier.

hInstResource

Handle to the instance containing the resource.