RE: [Request] Titlebar of App -> PSM
From where I see it, there are three ways to implement something like this:
1. Set a timer (user customizable perhaps). When the timer fires, call FindWindow to find the first browser for your desired browser. Call GetWindowText/GetWindowTextLength to get the text of the window. Set it to your PSM.
This method in theory, would be compatible with most browsers.
Browser Class List:
FireFox: MozillaUIWindowClass - The title should have "Mozilla FireFox" at the end. (Thunderbird uses this class too)
IE: IEFrame
Google Chrome: Chrome_XPFrame
2. For IE only, you could use the Registered message "WM_HTML_GETOBJECT" to get the browser control interfaces. I believe you can subscribe to events for this.
3. Write a plug-in for the desired browser. Then create an invisible window that will listen for messages from the browser plug-in (Similar to how the "What I'm listening to" feature works)
|