http://bugs.winehq.org/show_bug.cgi?id=8913
Summary: Window with WS_DISABLED still can be activated Product: Wine Version: 0.9.40. Platform: PC OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-user AssignedTo: wine-bugs@winehq.org ReportedBy: dmda@yandex.ru
Under windows if you click on a window with WS_DISABLED set, it won't be activated. This way all Delphi applications are handling ShowModal(), keeping all underlying windows disabled. With Wine click on disabled window still activates it and current modal window goes back in Z-order. FYI, to set WS_DISABLED, application calls EnableWindow(Wnd, 0)