tags:

views:

46

answers:

1

Hello All,

I have a requirement where, I need to have the name of the running application in focus. I am using C++/Qt/Carbon.

Any help is highly appreciated. Thanks, Rahul

+2  A: 

GetFrontProcess

Azeem.Butt
Notice that as this is highly platform specific, Qt does not help you out. Instead you will have to use a Carbon specific function, as pointed out by NSD.
e8johan