Add images to Symbian tabpage

Source: Internet
Author: User

It seems useless to implement the draw method when a view is composed of tabpages,

Tabpage overwrites all the areas, and you cannot see the items painted in the view,

How can I draw images in tabpage?

There are two ways to use controls and resources.
Controls:
---------------------------------------------------------------

A tabpage is a view, so that you can draw in the view.
Resource:
---------------------------------------------------------------

In fact, the method is quite simple,
Add

// Creates MBM file.

Start bitmap P. MBM
Header
Sourcepath ../bitmaps
Source 2 navi_tab_index.bmp
Source 2 navi_tab_2.bmp
End
BMP id = embmp navi_tab_index;
BMP mask = embmp navi_tab_index;
BMP file = "// system // apps // P. MBM ";

Note: This part is added to RSS!
BMP id = embmp navi_tab_index;
BMP mask = embmp navi_tab_index;
BMP file = "// system // apps // P. MBM ";
Like this
Tab
{
BMP id = embmp navi_tab_index;
BMP mask = embmp navi_tab_index;
BMP file = "// system // apps // P. MBM ";
Id = epviewindextab; // from application HRH
// TXT = qtn_view_index_tab;
},
Tab
{
BMP id = embmp navi_tab_2;
BMP mask = embmp navi_tab_2;
BMP file = "// system // apps // P. MBM ";
Id = epviewindextab; // from application HRH
// TXT = qtn_view_index_tab;
}
The bmp id is such an embm [project name] [file name]
Only join in MMP
Start bitmap P. MBM
Header
Sourcepath ../bitmaps
Source2 navi_tab_index.bmp
Source2 navi_tab_2.bmp
End
The bmp id is such an embm [project name] [file name]
---------------------------------------------------------------

The bmp id and the BMP mask can also be different graphs.
Source 2 navi_tab_2.bmp
In 2, the color depth indicates a monochrome image.
C8 is an 8-digit color chart, and C24 is a 24-digit real color chart, but I have never tried it.
---------------------------------------------------------------
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.