BCGControlBar Pro for MFC
BOOL CBCGPPngImage::Load ( UINT  uiResID,
HINSTANCE  hinstRes = NULL 
)

Loads a PNG image from resources.

Returns
TRUE if the image was found and loaded successfully; otherwise FALSE.

This function is used to load an image from resources.

Parameters
uiResIDSpecifies the Resource ID.
hinstResSpecifies the instance of the resource DLL or application.