hi to all,
I have a problems with making a TCustomcontrol transparent.
I added:
Procedure CreateParams(var Params: TCreateParams); override;
implenmentation
procedure TDSPTransparentPanel.CreateParams(var Params: TCreateParams);
begin
{ call the create of the params }
inherited CreateParams(Params);
Params.ExStyle := Params.ExStyle + WS_EX_Transparent;
ControlStyle := ControlStyle - [csOpaque] + [csAcceptsControls]
end;
This makes the Component transparent, but when I place an
Imagebox on it and I'am moveing the Imagebox per runtime,
the background of the TCustomcontrol losess it's
tranzparency

. When I minimize and maximize the Form or when I move an other Window over it (e.g. explorer) , the transparency will be back.
So here is my Question:
What must I do to get this effect by code, to get the transparency back?
I called self.redraw , self.invalidate but without effect.
Please help me solve this Problem
Best Regards
BT