×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    14

    How to know which application is in Foreground??

    Hi,

    My application allows me to switch between two applications. Now i want to test this functionality. How can i know which particular application is in foreground?

    BR
    Farooq

  2. #2
    Super Contributor
    Join Date
    Jun 2006
    Location
    Moscow, Russia
    Posts
    803

    Re: How to know which application is in Foreground??

    Hi,

    You can use TApaTaskList::FindByPos().
    TInt aPos : The ordinal position of a task's window group. A zero value refers to the foreground task.
    Regards,
    ivey

Similar Threads

  1. How to debug console application with CW3.1 and 3rd edition ?
    By 3rdparty in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2006-06-16, 13:54
  2. How to debug console application with CW3.1 and 3rd edition ?
    By 3rdparty in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2006-02-01, 17:40
  3. Changing the ordinal position of an exteranl application.
    By Shaikuny in forum Symbian User Interface
    Replies: 1
    Last Post: 2004-12-30, 07:32
  4. Replies: 0
    Last Post: 2004-12-13, 11:05
  5. Replies: 0
    Last Post: 2003-02-03, 08:08

Posting Permissions

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