May 28, 2026
6:17 a.m.
Nikolay Sivov (@nsivov) commented about dlls/user32/static.c:
LONG style = full_style & SS_TYPEMASK;
if (!IsWindow( hwnd )) return 0; + NtUserSetWindowFNID( hwnd, MAKE_FNID(NTUSER_WNDPROC_STATIC) );
switch (uMsg)
I recall this was depending on WM_NCCREATE, if you don't pass it to original procedure this class type won't be set. I don't know if it's worth replicating, unless SetWindowFNID is for some reason expensive to call on every message. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11012#note_141503