In this article I am going to describe how to get the title of the window which has the focus, or in other word is currently active. To be able to achieve this in Qt/C++ you need to use the operating system API functions, in this case Win32 API.Continue reading “How to Get the Topmost Window Title using Qt/C++ (for Windows)”
You can use ActiveX Control List application to get a complete list of currently installed and registered ActiveX (and COM of course) components that are available on the system.
To be able read PDF files in your Qt applications you can use any 3rd party libraries but my choice is to use Adobe Acrobat Reader ActiveX in a QAxWidget object. The approach is quite simple as long as you have Acrobat Reader ActiveX installed on your computer.Continue reading “How to Read PDF Files Using ActiveX in Qt”
I wrote this program some time ago to change my Skype status to Online and Away at different hours during the day. I decided I could share the source code because it is a good example on how to connect to a COM library using Qt.
Following should be noted about the source code provided in this post.
- “skype4comlib” is produced using “dumpcpp” tool so you don’t need to create it yourself, and I also didn’t create it myself 🙂
- Please refer to this link to get information on how to use dumpcpp.
- Skype4COM library can be found here (usually)
- C:Program Files (x86)Common FilesSkypeSkype4COM.DLL
Post a comment if there is anything confusing about the source code.
To test it just make sure Skype is running and just run the two Qt projects included in the source code.