Hi
I'v just reported this to bugtrack list, please take a look at issues:
0001804
0001805
0001806
thanks
xpete
> Regions are great and work in all Win Versions but Alpha Blending is
> only implemented in Win2K+, if you have good drivers even alpha
> doesn't consume much cpu, on Linux both Alph
Regions are great and work in all Win Versions but Alpha Blending is
only implemented in Win2K+, if you have good drivers even alpha
doesn't consume much cpu, on Linux both Alpha and Regions should be
supported already, i have noticed TCanvas has TRegion ?
Was it meant to be a matrix with the alpha
Felipe Monteiro de Carvalho wrote:
On 2/27/06, Micha Nelissen <[EMAIL PROTECTED]> wrote:
I think SetWindowRgn makes part of a window transparent (the parts not
in the region). For example, winamp can do it: have oddly shaped sizes.
well ... good to know new things =)
I did not know that such
sorry for the late reply.
I have been doing some test with this code:
procedure TForm1.FormCreate(Sender: TObject);
var
Rgn : HRGN;
begin
Rgn := CreateEllipticRgn(1,1,217,217);
SetWindowRgn(Handle, Rgn, True);
end;
And it works in Lazarus if i use unit Windows i
On 2/27/06, Micha Nelissen <[EMAIL PROTECTED]> wrote:
> I think SetWindowRgn makes part of a window transparent (the parts not
> in the region). For example, winamp can do it: have oddly shaped sizes.
well ... good to know new things =)
I did not know that such API function existed.
Maybe it can
On Monday 27 February 2006 03:38 am, Micha Nelissen wrote:
> I think SetWindowRgn makes part of a window transparent (the parts not
> in the region). For example, winamp can do it: have oddly shaped sizes.
>
Here is a sample of using regions with FPC/Qt4 to get oddly shaped sizes.
http://users.pan
On Monday 27 February 2006 17:15, Flávio Etrusco wrote:
> On 2/27/06, Christian Iversen <[EMAIL PROTECTED]> wrote:
> > On Monday 27 February 2006 09:38, Micha Nelissen wrote:
> > > Felipe Monteiro de Carvalho wrote:
> > > > What really happens with TransparentColor of TForm is that it takes a
> > >
On 2/27/06, Christian Iversen <[EMAIL PROTECTED]> wrote:
> On Monday 27 February 2006 09:38, Micha Nelissen wrote:
> > Felipe Monteiro de Carvalho wrote:
> > > What really happens with TransparentColor of TForm is that it takes a
> > > screenshot of the screen, probably before the application is lo
On Monday 27 February 2006 09:38, Micha Nelissen wrote:
> Felipe Monteiro de Carvalho wrote:
> > What really happens with TransparentColor of TForm is that it takes a
> > screenshot of the screen, probably before the application is loaded,
> > so it doesn't appear on the screenshot, and the first t
Felipe Monteiro de Carvalho wrote:
What really happens with TransparentColor of TForm is that it takes a
screenshot of the screen, probably before the application is loaded,
so it doesn't appear on the screenshot, and the first thing that
happens on the paint process of the window is paint a port
> My point was that the backgound is frozen, at least for version I tried.
> Try showing a clock and magnify it with the magnifier, the seconds
> didn't move. At first I didn't know this, and I wondered why I didn't
> see the debug messages on the screen.
Yes, the background is frosen, but you d
Felipe Monteiro de Carvalho wrote:
On 2/25/06, Vincent Snijders <[EMAIL PROTECTED]> wrote:
The magnifier uses a borderless form with the size of a the desktop, and
before showing the form it copies the background from the screen. The
background is frozen after that.
I only made it the size
On 2/25/06, Vincent Snijders <[EMAIL PROTECTED]> wrote:
> The magnifier uses a borderless form with the size of a the desktop, and
> before showing the form it copies the background from the screen. The
> background is frozen after that.
I only made it the size of the desktop to improve the drawi
On 2/25/06, xpete <[EMAIL PROTECTED]> wrote:
> But the most important features that i need are:
>
> property TransparentColor: Boolean;
> property TransparentColorValue: TColor;
>
> from TCustomForm
> It makes any area of the form with that color become transparent.
> i tried to use a component ca
>
> How does it work? Does it scan the form and build a region or so? Sounds
> like a horrible hack to me TBH. How do you use it ?
>
Well there are a few ways one could achieve this, the worst hack being to have
the code scan the form and copy whatever is behind it on screen onto the
section you
On Sat, 25 Feb 2006 19:27:47 +
xpete <[EMAIL PROTECTED]> wrote:
> One of them is:
>
> property ScanLine[Row: Integer]: Pointer;
>
> from TBitmap with is present in JCL (http://www.delphi-jedi.org) so i
> don't think it's difficult to implement.
It's harder than you think if you step outside
xpete wrote:
Felipe Monteiro de Carvalho has already done something like that
in "Virtual Magnifying Glass" maybe he knows how to implement this.
The magnifier uses a borderless form with the size of a the desktop, and
before showing the form it copies the background from the screen. The
ba
Hi
I'm trying to port to lazarus 0.9.12 some apps that i have done in
delphi 7 but i need some simple missing features.
One of them is:
property ScanLine[Row: Integer]: Pointer;
from TBitmap with is present in JCL (http://www.delphi-jedi.org) so i
don't think it's difficult to implement.
But t
18 matches
Mail list logo