×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    29

    Smile Hiding Cba in full screen application

    Hi

    I have created a full screen application with

    Code:
    CCoeControl::SetExtentToWholeScreen();
    in the ConstructL() method of my container. I also hide the status pane in my App Ui

    Code:
    StatusPane()::MakeVisible(EFalse);
    It seems I do not need to initially hide my Cba, it doesn't display but still works. However when I press the left softkey the Options/Exit Cba comes back.

    If I do a call to Cba->MakeVisible(EFalse) after handling the options menu, The Options/Exit dissapears to be replaced with Messaging/Contacts.

    I want the application to be restored to true full screen after you have finished with the options menu. Can anyone help me with this?

    Thanks!
    Last edited by adamlah; 2009-01-08 at 13:34.

  2. #2
    Registered User
    Join Date
    Jul 2008
    Posts
    29

    Smile Re: Hiding Cba in full screen application

    Solved this one.

    In my container view I created this public method

    Code:
    void CMyContainerView::RestoreFullScreen() 
    	{
    	Cba()->MakeVisible(EFalse);
    	iMyContainer->SetSize(TSize(240,320));
    	}
    which I call every time I handle an option in my menu and in the AppUi HandleKeyEvent method

    Code:
    	if (aType==EEventKeyDown && (aKeyEvent.iScanCode == EStdKeyDevice0 || aKeyEvent.iScanCode == EStdKeyDevice1))
    		{
    		Cba()->MakeVisible(ETrue);
    		}
    	else
    		{
    		iMyContainerView->RestoreFullScreen();
    		}
    Last edited by adamlah; 2009-01-09 at 11:18.

Similar Threads

  1. how to exit full screen?
    By sunny8285 in forum Symbian User Interface
    Replies: 8
    Last Post: 2008-10-23, 08:24
  2. E90 OpenGL full screen update performance
    By samulikekki in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2008-02-15, 12:37
  3. Form Medhod - Full Screen Mode - Need Help!!!
    By go2andplay in forum Mobile Java General
    Replies: 1
    Last Post: 2008-01-28, 11:35
  4. How to activate Full Screen mode on Series 80?
    By anandrenake in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-01-17, 08:47
  5. UI: Full Screen Mode
    By GENERAL_INFO in forum Symbian User Interface
    Replies: 3
    Last Post: 2004-11-22, 06:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •