How can I know which application is on foreground on a UIQ phone?
It seems TApaTaskList::FindByPos(0) method can help you. It returns TApaTask of the foreground application.
Forum Rules