How to create Button with Picture
Article Metadata
bitmapFile.Copy(appPath);
// The MBM file
bitmapFile.Append(_L("EXAMPLE.MBM"));
// Compress heap button
Button = new (ELeave) CEikBitmapButton();
// Pass the MBM file
Button->SetPictureFromFileL(bitmapFile, 0, 1, CEikCommandButtonBase::EFirst);
Button->SetContainerWindowL(*this);
Button->SetObserver(this);
NOTE: CEikBitmapButton is removed in 2nd Edition FP2.


bitmapFile.Copy(appPath);// The MBM file bitmapFile.Append(_L("EXAMPLE.MBM"));// Compress heap buttonButton = new (ELeave) CEikBitmapButton();// Pass the MBM file Button->SetPictureFromFileL(bitmapFile, 0, 1, CEikCommandButtonBase::EFirst);Button->SetContainerWindowL(*this);Button->SetObserver(this); In this artical they had explained about how to make a button with the help of image and here they used the class CEikBitmapButton();// and addding the images from the MBM file here they manstioned about 0,1 they are index of the MBM files we can write directly the Enum name of the MBM file also
NOTE: This is not worked in 2nd edition sdk