Categories: Symbian C++ | How To | Code Examples | UI | Customization
This page was last modified 16:24, 23 June 2008.
How to create Button with Picture
From Forum Nokia Wiki
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 Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Operator Logo And Wap!!! | clustergsm | Browsing and Mark-ups | 4 | 2003-12-07 16:40 |
| camera shutter key problem with focus key | s4028469 | General Symbian C++ | 5 | 2007-11-04 23:21 |
| Getting System.gc() to run.... | jhodgski | Mobile Java General | 5 | 2004-01-28 13:03 |
| Image display problem in 6600..... | peter_k_john | Symbian Media (Graphics & Sounds) | 4 | 2006-08-19 04:52 |
| How create a button? | Mastahh | Symbian User Interface | 0 | 2006-03-02 09:16 |
