How to hide and display menu bar (cba button)???
| Fri, 2005-08-05 07:59 | |
|
Hello,
I am working on a app which needs full screen view. I must include a menu bar haveing cba button "Options Exit". But menu bar should be hidden and if user presses any of the soft key, it should pop up the menu pane. Is there any method which can be used to hide and display menu bar? |
|






Forum posts: 176
You use the same container in both views... I know it's ugly but easy at the first step...
But i hope to hear about better solutions...
Bye;
CG
Forum posts: 90
There's Cba() function in CAknAppUi, with that you get the instance of CEikButtonGroupContainer which is derived from CCoeControl (iirc). So you can use SetVisible( EFalse ) and redraw!1
edit: There's also MakeVisible( TBool ) -function.. try these
savaaZ
For quality Symbian idling, join #symbian at irc.freenode.net
Forum posts: 176
{
flags=EGeneralQueryFlags;
buttons = R_AVKON_OPTIONS_OK_BACK;
items =
...
How to manipulate the basic R_AVKON_XXX-keys? Is there maybe a bitmask to set/unset or something like this?
Thanks in advance;
CG
Forum posts: 68
Forum posts: 48
hi
i want to make my view to be full screen i used applicationrect() it is working but the cba buttons are not visible so i used
cba()->MakeVisisble(1);
but i don't no how to use and where to keep this command can u help me out .
thanks
Forum posts: 93
hi scorpio,
ofcourse u use it in ur AppUi class.
Thanks & Regards,
C Singh
Forum posts: 48
thanks for replying
it is crashing giving kern-exec 3 program closed
thanks
Forum posts: 48
thanks 2 all
my problem is solved