×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    82

    Question About SetOrdinalPosition

    Hi,
    I use the following code to change the ordinal position of my application:
    RWindowGroup *pWG = &CCoeEnv::Static()->RootWin();
    pWG->SetOrdinalPosition(0, 2000);
    But it seems that the above code has some side effects. My application has a Hide RSK on the and after the ordinal postion was changed by the above two lines code, the Hide RSK doesn't work any more.
    And also that the application of my phone does not work.
    Could somebody give me some hint about that?
    Many thanks in advance!

  2. #2
    Super Contributor
    Join Date
    Jan 2008
    Location
    Bangalore, India
    Posts
    777

    Re: About SetOrdinalPosition

    SetOrdinalPosition(TInt aPos, TInt aOrdinalPriority);
    aPos->A window's ordinal position is relative to its siblings with the same ordinal priority.
    Specifying a negative value has the effect of sending the window to the back of the z-order.
    so try -1
    aOrdinalPriority->Ordinal priority is a number assigned to a window that determines its position in the z-order.Most windows have an ordinal priority of zero.
    and u r using
    pWG->SetOrdinalPosition(0, 2000);
    so in this case why "2000" see sdk
    TCoeWinPriority
    Regards
    $-Nitesh-$

Similar Threads

  1. Replies: 0
    Last Post: 2008-04-25, 07:14
  2. Replies: 3
    Last Post: 2007-08-06, 08:32
  3. Focus, SetOrdinalPosition & PyS60
    By nono240 in forum Symbian
    Replies: 2
    Last Post: 2007-01-26, 16:56
  4. Focus, SetOrdinalPosition & PyS60
    By nono240 in forum Symbian
    Replies: 2
    Last Post: 2007-01-26, 09:29

Posting Permissions

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