×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    119

    Question Changing the ordinal position of an exteranl application.

    Hi.
    Is it possible to bring an external application to the foreground when there is an incoming call ?
    so far I have managed to bring only my own application to the foreground when there is an incoing call...

    My application has the TApaTask object of an external application (was retrieved using TApaTaskList::FindApp) and now I want to control the external application ordinal position.

    usualy I would use the 'BringToForeground' method however this method has no effect when there is an incoming call and only at this time I need to bring the external application to the foreground. so I want to change the ordinal priority of the external application.
    I have also tried using 'RWsSession::SetWindowGroupOrdinalPosition' method with the id of the external app window-group ID, still no luck...

    I think I need to be able to use 'RWindowGroup::SetOrdinalPosition() ' on the external application, but I have no idea how to obtain a RWindowGroup that is assosiated with an external app ...


    another method that I have tried is to launch the external application as an embedded application inside my app. this works fine however then the external application does not work properly due to its own reason ('realplayer' does not play automaticly when it is being launch as an embedded app - if someone knows the reason , please share ;)

    Sincerely,
    Shai . K

  2. #2
    Regular Contributor
    Join Date
    Dec 2004
    Location
    Mumbai
    Posts
    67

    Bringing own application to the foreground on incoming call

    I just read your post and u mentioned that u r able to bring your app to the foreground on incoming call.

    I've been trying this for a while, with no success. So can u please let me know how did u achieve it. Bringing own application to the foreground on incoming call

Posting Permissions

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