×

Discussion Board

Page 1 of 3 123 LastLast
Results 1 to 15 of 35
  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    30

    Hide/show -- Control/Status pane

    I want my application to start in full screen mode which can be achieved by SetExtentToWholeScreen() method.

    Is it possible to hide Status pane and show Control Pane in full screen mode while using SetExtentToWholeScreen().

  2. #2
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,025

    Re: Hide/show -- Control/Status pane

    hi..plz follow the link below, it might be helpful:

    http://wiki.forum.nokia.com/index.ph..._control_panes

  3. #3
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    61

    Re: Hide/show -- Control/Status pane

    Hi,

    One thing you can do during the creation of view you should use ApplicationRect() instead of ClientRect().
    That will make your view to full screen. But in this case you have to change the cba of your application accordingly.
    Niyaz

  4. #4
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,348

    Re: Hide/show -- Control/Status pane


  5. #5
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454

    Re: Hide/show -- Control/Status pane

    Hi,
    I want my application to start with full screen mode.
    I have tried all the mentioned stuff here.
    But my appli is not taking whole screen...
    at the bottom, its coming like this: http://wiki.forum.nokia.com/index.ph...ymbian_C%2B%2B
    as it is not supported when the application is skinned (from S60 2nd Edition onwards).

    What is the solution for this ?
    Regards,
    Sunitha.M

  6. #6
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,025

    Re: Hide/show -- Control/Status pane

    In the DoActivate function of your initial view,do something like below:
    iContainer = CYourContainer::NewL( ApplicationRect() );

  7. #7
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454

    Re: Hide/show -- Control/Status pane

    as ApplicationRect() is derived from CAknAppUi class, I cant write it in View.
    So, I wrote it in AppUi class where Creating the view object like this:

    iAppMainView = CMyAppMainView::NewL( ApplicationRect() );

    but the issue remains still...
    Regards,
    Sunitha.M

  8. #8
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,025

    Re: Hide/show -- Control/Status pane

    so are you setting this view as your defalut view?, also remove that SetExtentTowholeScreen()

  9. #9
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454

    Re: Hide/show -- Control/Status pane

    Yeah, I have set iAppMainView as the Default view.....

    I have checked by removing SetExtentTowholeScreen(), but status pane is also visible now....

    I have one doubt,
    Though am setting like this : iAppMainView = CMyAppMainView::NewL( ApplicationRect() );

    in CMainContainer::DoActivateL()
    {
    iContainer = CMainContainer::NewL( ClientRect() ); // again ClientRect is passed right ? I think thats why there is no effect...
    iContainer->SetMopParent( this );
    AppUi()->AddToStackL( *this, iContainer );
    }
    Regards,
    Sunitha.M

  10. #10
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,025

    Re: Hide/show -- Control/Status pane

    that is the thing i suggested you to do in your view class,change that ClientRect() to ApplicationRect()

  11. #11
    Registered User
    Join Date
    Nov 2008
    Location
    Mumbai-India
    Posts
    379

    Re: Hide/show -- Control/Status pane

    use
    this->StatusPane()->MakeVisible(EFalse);
    in appui

    and add the client rect as per requirement in view

  12. #12
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454

    Re: Hide/show -- Control/Status pane

    How can I write it in View class....
    as ApplicationRect() is derived from CAknAppUi class, I cant write it in View.
    So, I wrote it in AppUi class...

    can u suggest me how can I do it ?
    Regards,
    Sunitha.M

  13. #13
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454

    Re: Hide/show -- Control/Status pane

    I added this in AppUi : this->StatusPane()->MakeVisible(EFalse);

    But my appli is not taking whole screen...
    at the bottom, its coming like this: http://wiki.forum.nokia.com/index.ph...ymbian_C%2B%2B (as mentioned in post #5)

    and add the client rect as per requirement in view
    I have given ClientRect() in View
    Regards,
    Sunitha.M

  14. #14
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,025

    Re: Hide/show -- Control/Status pane

    chnage clientRect() to ApplicationRect()

  15. #15
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454

    Re: Hide/show -- Control/Status pane

    If I give like this : iContainer = CMainContainer::NewL( ApplicationRect() );

    class CMainView: public CAknView
    {
    };

    class CAppUi : public CAknViewAppUi, public MXmlHandlerObserver
    {
    };

    Its giving error : (CMainView is derived from CAknAppUi class)
    undefined identifier 'ApplicationRect' MyAppMainView.cpp
    Regards,
    Sunitha.M

Similar Threads

  1. status pane in E61 screen (320x240 ) s603rd
    By francobellu in forum Symbian
    Replies: 2
    Last Post: 2008-07-10, 12:48
  2. Hide/show dynamycally Control Pane Soft Keys
    By idris_tas in forum Symbian
    Replies: 2
    Last Post: 2008-01-04, 09:08
  3. status pane in E61 screen (320x240 ) s603rd
    By francobellu in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-06-23, 23:16
  4. Status pane layout in E61 screen.
    By francobellu in forum Symbian
    Replies: 0
    Last Post: 2006-06-16, 10:40
  5. CAknForm derived class does not display via navi pane
    By andyesquire in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-03-01, 19:07

Posting Permissions

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