How to open a txt file in the foreground above/infront of all other opened dir using qt api?
I want to launch/open a txt file when i am exiting from my qt app. To do that am using the below qt api
But the issue is if some other folder is opened the file txt file is opened exactly behind of the opened dir or file.
How to fix this issue?
Is there any other api or setting required which will make this visible in front of other opened dirs.
RazrFalcon last edited by
Maybe "startDetached":http://qt-project.org/doc/qt-4.8/qprocess.html#startDetached could help.
But I don't know how to get name of app which attached to .txt extension.
Thanks for your reply. i dont want to use QProcess. Is there any other way how to make this possible.
Operating systems nowadays often prevent applications from doing window management tasks like these. You might run into such a limitation here...
Yes i have verified on windows xp and it works fine but on windows 7 this is an issue.
Probably little you can do about that, then. You could look into windows 7 API to see if you can do anything more, but Qt does not supply such functionality.
Ok, Thanks for your reply. then i need to check for windows api to do so.