Contents |
Context pane is a pane on the application's Status pane. Application can set an image to be shown in the Context pane.
API category | public |
API type | c++ |
Existed since | Legacy S60 0.9 |
API libraries | avkon.lib |
Location | /sf/mw/classicui/classicui_pub/context_pane_api
|
Buildfiles | /sf/mw/classicui/classicui_pub/context_pane_api/group/bld.inf
|
Context pane is a pane shown on the Status pane, which end-user applications
can utilize to show some picture. It is a Framework API. The picture can be
set from a pre-constructed CFbsBitmap
or CEikImage
,
a bitmap file or a resource file.
This API is fully supported in the WINS/WINSCW emulator environment.
This API is an SDK API and available for all S60 versions. The document is valid from S60 release 5.0 onwards.
This API is valid for all S60 platforms.
Set a picture to be shown on the Context pane.
Classes | Files |
---|---|
|
/epoc32/include/mw/akncontext.h
CAknContextPane
is contained in CEikStatusPane
.
It is inherited from CAknControl
.
The following code snippet shows how to set a picture to the Context pane.
CAknContextPane* contextPane = (CAknContextPane*)sp->ControlL(contextPaneUid); contextPane->SetPicture(aBitmap, aMask);
CAknContextPane
cannot be instantiated and inherited.
It only can be used on the Status pane and retrieved from the Status pane
as the following code snippet shows.
CAknContextPane* cp = (CAknContextPane *) sp->ControlL(TUid::Uid(EEikStatusPaneUidContext));