BCGControlBar Pro for MFC
CBCGPImageEditDlg::CBCGPImageEditDlg ( CBitmap *  pBitmap,
CWnd *  pParent = NULL,
int  nBitsPixel = -1 
)

Constructs a CBCGPImageEditDlg object

Create a bitmap image, pass a pointer to it to the constructor of CBCGPImageEditDlg object, than call DoModal. When the DoModal function returns the bitmap contains a new image.

Parameters
pBitmapSpecifies an image to edit
pParentA pointer to a parent window.
nBitsPixelSpecifies the image color depth. If it is -1, then this parameter is taken from the incoming image specified by pBitmap.