 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Sat Jan 13, 2007 12:45 am Post subject: How to call CreateParams? |
|
|
I have the following code in my form to make a window transparent:
procedure TfrmGuides.CreateParams(var Params: TCreateParams); //
override;
begin
inherited;
if (MakeTrans) then begin
params.exstyle := params.ExStyle or WS_EX_TRANSPARENT;
end;
end;
The problem is that while the form is open I need to be able to change
the value of MakeTrans and have that update the window. How do I call,
or force a call to CreateParams? |
|
| Back to top |
|
 |
Guest
|
Posted: Sat Jan 13, 2007 3:05 am Post subject: Re: How to call CreateParams? |
|
|
Solved it, I just call SetWindowLong instead. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|