You Are Here:

Community: Wiki

This page was last modified on 5 September 2009, at 08:28.

How to create Button with Picture

From Forum Nokia Wiki

Reviewer Approved   
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.

Related Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia