I need to obtain the HWND of the message window for a thread so that I can call ::RegisterShellHookWindow() to get shell notifications via MessageLoopForUI::Observer. Unfortunately, MessagePumpForUI::message_hwnd_ is private.
Any suggestions on how I can obtain it? I was thinking I could call FindWindowEx() with HWND_MESSAGE and the class/window names, but when you do this, you get multiple matches (e.g. the BrowserProcess::file_thread also creates a UI pump), so how can I differentiate and ensure that I'm obtaining the correct one?? Thanks, D --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
