hi,

i am developing a screensaver application which uses active object. my apllication uses an active object (having "CActive::EPriorityHigh" priority). when it finds user-inactivity it brings my application to foreground in this way,

TApaTask task(iEikonEnv->WsSession());
task.SetWgId(CEikonEnv::Static()->RootWin().Identifier());
task.BringToForeground();

it works fine in 7610. if the default nokia screensaver is running, it stops it and my application is brought in foreground.

but in 6681
a) if my application starts first then the nokia screensaver will not appear
b) if nokia screensaver appears first my application is not shown, but it is running behing the nokia screen saver.

thanks
sunny