Hi Roi,
Could you add me to your email list for this class also? Thanks!
Tracy
>Hi John,
>
>If you are using WinNT/2000 (and I'm sure it would work in XP) you can use the SetLayeredWindowAttributes API to make the form transparent. Note: the form must be set "As Top Level" only.
>
>Add to the init of the form:
>
IF ! 'FOXTOOLS' $ SET('LIBRARY')
> SET LIBRARY TO Home() + "FOXTOOLS.FLL"
>ENDIF
>
>** Store the Window Handle
>DECLARE SetWindowLong IN Win32Api INTEGER, INTEGER, INTEGER
>DECLARE SetLayeredWindowAttributes IN Win32Api INTEGER, STRING, INTEGER, INTEGER
>DECLARE GetWindowLong IN Win32Api INTEGER, INTEGER
>
>** You only need the following line if pre VFP7
>**THIS.HWND = _WhTohWnd(_WFindTitl(THISFORM.CAPTION))
>
>now call the following from the click of a button.:
>
>
nLevel = 75
>SetWindowLong(THISForm.HWND, -20, 0x00080000)
>SetLayeredWindowAttributes(THISForm.HWND, 0, nLevel, 2)
>
>
>I got this from a post John Koziol made about a year ago. It's very cool.
>
>I wrapped the whole thing up into a class that can do slow disolves and stuff. I can email you a copy if you like.
>
>hth
>
>>Hi,
>>Any way to make my form look like WinCE form?
>>I used to try Form transmormer v1.1, it is great!!! However, I want more.. :)
>>I wish to have a form that transparent to desktop, but the form border still exist, and it work like a glass that will make the part of desktop under my form area look abit blur....
>>is it possible to do so?
>>
>>Thank you
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"