×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Nov 2006
    Posts
    73

    how to get main pane size?

    hi, all.
    i want to get the size of main pane.
    i can get screen size by
    CCoeEnv* screenP = CCoeEnv::Static();
    TSize screenSize = screenP->ScreenDevice()->SizeInPixels();
    but.... the size is the whole screen,i only want to get the mainpane.
    how should i do......

    thanx.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: how to get main pane size?

    you could use:
    AknLayoutUtils::LayoutMetricsRect(AknLayoutUtils::EMainPane, rect);

    , and with older devices, you could use:
    rect = CEikonEnv::Static()->EikAppUi()->ClientRect();

    yucca

  3. #3
    Regular Contributor
    Join Date
    Nov 2006
    Posts
    73

    Talking Re: how to get main pane size?

    symbianyucca
    thanx

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. Can't change stack size of the main GUI thread?
    By acclivity in forum Symbian
    Replies: 3
    Last Post: 2006-12-01, 11:17
  3. Audio Input Stream on N80
    By tkaihock in forum Symbian Media (Closed)
    Replies: 9
    Last Post: 2006-06-30, 09:15
  4. Menu Pane Size
    By djoseph1 in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-11-15, 00:44
  5. User break point error in Grid
    By ag24master in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-08-07, 08:20

Posting Permissions

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