Re: Transparent window
- From: Duncan McNiven <spamtrap@xxxxxxxxxxxxxxxxxx>
- Date: Sun, 30 Oct 2005 21:15:50 +0200
On Sun, 30 Oct 2005 18:58:08 +0100, "MD" <michel.dominique@xxxxxxxxxx>
wrote:
>I'm looking for a way to make transparent a form's client area while
>dragging it onto the desktop. For instance, when I click down on the window
>title, the client area content disappears and instead we see what there is
>under the window, while the window is moved.
>
>Is it easy to do with Delphi, without additionnal component ?
Depends on a few things:
What version of Delphi are you using?
What operating system are you running on?
Does is have to be the client area _only_ that is transparent?
For D6 & greater, and apps running on Win 2K or later, setting the
whole form to a (semi) transparent state is trivial - just play with
the AlphaBlend and AlphaBlendValue properties of the form.
For other cases it is possible, but more involved. I don't remember
the details but I have seen such code on the Delphi groups before, so
Google should find it.
--
Duncan
.
- Follow-Ups:
- Re: Transparent window
- From: J French
- Re: Transparent window
- References:
- Transparent window
- From: MD
- Transparent window
- Prev by Date: Re: Adding string to Memo
- Next by Date: Saving printer setup and properties
- Previous by thread: Transparent window
- Next by thread: Re: Transparent window
- Index(es):
Relevant Pages
|