Home All Groups Group Topic Archive Search About

Truly transparent label.

Author
28 Sep 2006 3:38 PM
T Clancey
Hi all.

I've been working on a small and very simple label design app for a few days
now, I've got most of my problems solved, although I'm sure there are some
more just around the corner!

The current issue is trying to get dynamically created labels to be truly
transparent.  Setting the color value just doesn't do the job!

I may have many labels on the form at any one time, when moving a label over
another the underlying label is overdrawn, obviously by the 'topmost'
(BringToFront) label background.

So I need real transparency, does anyone have any ideas?

Oh, and I will have to do with with some 3rd party bar code controls as
well.  IDAutomation Linear and 2D dlls.

Cheers,
Tull.

Author
28 Sep 2006 5:23 PM
Steve Long
Maybe this can help?

http://www.codeproject.com/csharp/transparentwindowsincsharp.asp
It's in C# though. Hope you can transpose.
HTH
Steve

Show quoteHide quote
"T Clancey" <t***@idcodeware.co.uk> wrote in message
news:RfGdndMKzrIqcYbYRVny2A@bt.com...
> Hi all.
>
> I've been working on a small and very simple label design app for a few
> days now, I've got most of my problems solved, although I'm sure there are
> some more just around the corner!
>
> The current issue is trying to get dynamically created labels to be truly
> transparent.  Setting the color value just doesn't do the job!
>
> I may have many labels on the form at any one time, when moving a label
> over another the underlying label is overdrawn, obviously by the 'topmost'
> (BringToFront) label background.
>
> So I need real transparency, does anyone have any ideas?
>
> Oh, and I will have to do with with some 3rd party bar code controls as
> well.  IDAutomation Linear and 2D dlls.
>
> Cheers,
> Tull.
>
Author
29 Sep 2006 2:51 PM
T Clancey
I looked into Transapency, but this can only be applied (through normal
properties) to forms, I need to do this kind of thing with the individual
labels.  I don't really want transparency as this will dim the entire
control, I just want the white to be transparent.

I'll continue the search, but thanks for the link.
Cheers,
Tull.


Show quoteHide quote
"Steve Long" <Steve_Noneya@NoSpam.com> wrote in message
news:%23Ob8HLy4GHA.3512@TK2MSFTNGP04.phx.gbl...
> Maybe this can help?
>
> http://www.codeproject.com/csharp/transparentwindowsincsharp.asp
> It's in C# though. Hope you can transpose.
> HTH
> Steve
>
> "T Clancey" <t***@idcodeware.co.uk> wrote in message
> news:RfGdndMKzrIqcYbYRVny2A@bt.com...
>> Hi all.
>>
>> I've been working on a small and very simple label design app for a few
>> days now, I've got most of my problems solved, although I'm sure there
>> are some more just around the corner!
>>
>> The current issue is trying to get dynamically created labels to be truly
>> transparent.  Setting the color value just doesn't do the job!
>>
>> I may have many labels on the form at any one time, when moving a label
>> over another the underlying label is overdrawn, obviously by the
>> 'topmost' (BringToFront) label background.
>>
>> So I need real transparency, does anyone have any ideas?
>>
>> Oh, and I will have to do with with some 3rd party bar code controls as
>> well.  IDAutomation Linear and 2D dlls.
>>
>> Cheers,
>> Tull.
>>
>
>
Author
29 Sep 2006 3:04 PM
Steve Long
You might want to look here then:

http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=2132&lngWId=10

Steve

Show quoteHide quote
"T Clancey" <t***@idcodeware.co.uk> wrote in message
news:fuOdnbdvBbPOroDYRVny3g@bt.com...
>I looked into Transapency, but this can only be applied (through normal
>properties) to forms, I need to do this kind of thing with the individual
>labels.  I don't really want transparency as this will dim the entire
>control, I just want the white to be transparent.
>
> I'll continue the search, but thanks for the link.
> Cheers,
> Tull.
>
>
> "Steve Long" <Steve_Noneya@NoSpam.com> wrote in message
> news:%23Ob8HLy4GHA.3512@TK2MSFTNGP04.phx.gbl...
>> Maybe this can help?
>>
>> http://www.codeproject.com/csharp/transparentwindowsincsharp.asp
>> It's in C# though. Hope you can transpose.
>> HTH
>> Steve
>>
>> "T Clancey" <t***@idcodeware.co.uk> wrote in message
>> news:RfGdndMKzrIqcYbYRVny2A@bt.com...
>>> Hi all.
>>>
>>> I've been working on a small and very simple label design app for a few
>>> days now, I've got most of my problems solved, although I'm sure there
>>> are some more just around the corner!
>>>
>>> The current issue is trying to get dynamically created labels to be
>>> truly transparent.  Setting the color value just doesn't do the job!
>>>
>>> I may have many labels on the form at any one time, when moving a label
>>> over another the underlying label is overdrawn, obviously by the
>>> 'topmost' (BringToFront) label background.
>>>
>>> So I need real transparency, does anyone have any ideas?
>>>
>>> Oh, and I will have to do with with some 3rd party bar code controls as
>>> well.  IDAutomation Linear and 2D dlls.
>>>
>>> Cheers,
>>> Tull.
>>>
>>
>>
>
>