Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor mmalo's Avatar
    Join Date
    Mar 2003
    Posts
    73
    How do I bring application from background to foremost window?

    Thanks.

  2. #2
    Regular Contributor etunkelo's Avatar
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    260
    You can do this using AppUi's ActivateViewL(). You will need to know the application Uid and view Uid of your view to do this. Example:

    const TUid KMyAppUid = { 0x10000000 }; // your application Uid
    CCoeAppUi::ActivateViewL(TVwsViewId(KMyAppUid, TUid::Uid(1)));

    If you do this within your own application you can use ActivateLocalViewL(). In this way you only need your ViewUid.

    ActivateLocalViewL(TUid::Uid(1));


    Eero Tunkelo
    Developer Support
    Forum Nokia

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved