Alexandre Julliard pushed to branch master at wine / wine Commits: 5d5aa947 by Steven Don at 2026-06-10T18:36:22+02:00 atl: Implement registering ATL window messages. The MSDN documentation for AtlAxWinInit states that it initialises ATL's control hosting code by registering window classes *plus a couple of custom window messages* Logging calls to `RegisterWindowMessage` showed that Visual Studio 2005, when going into Options -> Projects and Solutions -> VC++ Directories, calls this function to get the message IDs for custom messages name WM_ATLGETCONTROL and WM_ATLGETHOST. I've then registered those same messages in AtlAxWinInit and logged when they were called in `AtlAxWin_wndproc`. Since they were called with 0 for both `wParam` and `lParam`, the only sensible implementation would be routing the calls through `AtlAxGetControl` and `AtlAxGetHost` and returning the `IUnknown` pointer from the window procedure. This change now makes the VC++ Directories control in Visual Studio 2005 work as expected (and probably other stuff too). - - - - - 6ff564f7 by Steven Don at 2026-06-10T18:37:24+02:00 atl/tests: Add tests for proper handling of WM_ATLGETCONTROL and WM_ATLGETHOST. - - - - - 2 changed files: - dlls/atl/atl_ax.c - dlls/atl/tests/atl_ax.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/5a7b73d7dbe1937bc699cd63c0085c... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/5a7b73d7dbe1937bc699cd63c0085c... You're receiving this email because of your account on gitlab.winehq.org. Manage all notifications: https://gitlab.winehq.org/-/profile/notifications | Help: https://gitlab.winehq.org/help