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