Hi, i am just getting started with development on Symbian OS 60v2 in C++. I have a few questions:
1) There doesnt seem to be an example in the SDK which demonstrates a fullscreen application.
2) How good is the emulator? I don't currently own a Symbain OS phone but plan to purchase one in the future. I tried compiling the Direct example and when i run it in the emulator, all i get is a blank white screen. In many of the examples, they either don't run at all or the menu is inaccessible and i cannot exit them.
3) What is the fastest way to draw to the screen for games in C++. There appear to be atleast 3 ways to do so.
also theres a RetroBlast application that I found somewhere that is in fullscreen. in the series60 sdk theres also the animation example which is also in fullscreen
But im afraid that by using this method, i am just drawing over the status pane. Beneath it, the status pane is still being drawn every frame (icon/Application title/etc..). Is there a more efficient way to do this? Something like disable the drawing of the status pane altogether?
I have a different problem with ApplicationRect. After I set the container's rectangle with SetRect, the menu is still drawn, i suspect Cba() is overriding it. However, I removed all traces to Cba() from sources, yet problem remains.
Are there any more requirements for ApplicationRect to work? I have copied the same code that makes a program created by wizard go fullscreen, but it still shows softkeys labels on the screen.
I tried your
CEikStatusPane* sp = StatusPane();
sp->MakeVisible(EFalse);
But I have a question as to where should I put this in order to not see a very-initial status pane. When I click on the pplication I see the status pane and then i goes full-screen. I want it to go full-screen right away.
For me the menu is not drawn. I would like that but I don't get it as against you who is trying to get rid of it!!
to get the fullscreen strait from the beginning change this to your rss file:
RESOURCE EIK_APP_INFO
{
menubar=r_main_menubar;
status_pane = r_status_pane_empty;
// status_pane=R_AVKON_STATUS_PANE_LAYOUT_USUAL;
cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}