Hi Oleh,
On 11/26/21 10:43 AM, Oleh Nykyforchyn wrote:
@@ -1670,6 +1673,14 @@ LRESULT WINAPI DefWindowProc16( HWND16 hwnd16, UINT16 msg, WPARAM16 wParam, LPAR case WM_GETTEXT: case WM_SETTEXT: return DefWindowProcA( hwnd, msg, wParam, (LPARAM)MapSL(lParam) );
- case WM_CTLCOLOR:
if (HIWORD(lParam) <= CTLCOLOR_STATIC)
return DefWindowProcA( hwnd, WM_CTLCOLORMSGBOX + HIWORD(lParam),
(WPARAM)HDC_32(wParam), (LPARAM)WIN_Handle32( LOWORD(lParam) ) );
else
return 0;
- case WM_ERASEBKGND:
return DefWindowProcA( hwnd, msg, (WPARAM)HDC_32(wParam), lParam );
Maybe we could just use WINPROC_CallProc16To32A for DefWindowProc16 instead of duplicating it here. Does the attached patch work for you?
Thanks,
Jacek