win32: set WS_EX_LAYERED in TCustomForm.CreateHandle if needed

git-svn-id: trunk@23570 -
This commit is contained in:
paul 2010-01-27 08:53:57 +00:00
parent c135622fe5
commit ab7d791825

View File

@ -330,6 +330,8 @@ begin
( not (csDesigning in lForm.ComponentState) and
(lForm.ShowInTaskBar = stAlways)) then
FlagsEx := FlagsEx or WS_EX_APPWINDOW;
if lForm.AlphaBlend then
FlagsEx := FlagsEx or WS_EX_LAYERED;
end;
SetStdBiDiModeParams(AWinControl, Params);
// create window