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:
parent
fc0b904c25
commit
8f8eca66d3
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user