×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    10

    Fullscreen mode switching

    Platform: Symbian Series 60

    Hi

    I have 2 CAknView views in my application (generated by AppWizard). The startup view is shown with normal layout (statuc bar, menu bar). The second (game view) should be shown in fullscreen mode (without status and menu bar). How can I implement it? Is it corrent to hide status bar using StatusBar()->MakeVisible?

    Thanks
    Steve

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    10

    RE: Fullscreen mode switching

    I found the answer, it is enough to set the rect of the view equal to application rect. On Microsoft platforms (e. g. Smartphone 2002) it does not work in this way.

    Thanks for attention
    Steve

  3. #3
    Registered User
    Join Date
    Nov 2007
    Posts
    16

    Re: Fullscreen mode switching

    Can you please tell me how to set the rect of the view to full screen mode.
    Thanks,
    Laila.

  4. #4
    Regular Contributor
    Join Date
    Apr 2007
    Location
    Germany, Stuttgart
    Posts
    241

    Re: Fullscreen mode switching

    One way is to call SetExtentToWholeScreen(); in the constructor of the View or you use the Funktion ApplicationRect(); to get the size of the actual Rect.

    Regards,
    Andi

  5. #5
    Regular Contributor
    Join Date
    Dec 2007
    Location
    Banglore,India
    Posts
    156

    Re: Fullscreen mode switching

    SetExtentToWholescreen() , or u can pass ApplicationRect() in place of ClientRect()

Posting Permissions

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