BCGControlBar Pro for MFC
BOOL CBCGPPngImage::LoadFromFile ( CFile *  pFile)

Loads a PNG image from file.

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

This function is used to load an image from file.

Parameters
pFileA pointer to file object.