1
0
mirror of https://github.com/narzoul/DDrawCompat synced 2024-12-30 08:55:36 +01:00

Fixed hooking of dialog window in FF8Config

This commit is contained in:
narzoul 2021-04-08 13:30:48 +02:00
parent fc0b904c25
commit 8f8eca66d3

View File

@ -137,6 +137,16 @@ namespace
{
switch (msg)
{
case WM_CREATE:
{
LRESULT result = origDefWindowProc(hwnd, msg, wParam, lParam);
if (-1 != result)
{
Gdi::WinProc::onCreateWindow(hwnd);
}
return result;
}
case WM_CTLCOLORSCROLLBAR:
if (reinterpret_cast<HWND>(lParam) == hwnd)
{