BCGControlBar Pro for MFC
BOOL CBCGPPngImage::LoadFromFile ( LPCTSTR  lpszPath)

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
lpszPathSpecifies the file name.