Re: Label's without background?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Nicholas Paldino [.NET/C# MVP] (mvp_at_spam.guard.caspershouse.com)
Date: 03/15/04


Date: Mon, 15 Mar 2004 08:56:48 -0500

Marcin,

    As far as I know, there isn't. Instead of taking another control and
placing it below the control you want to draw the text shading for, I would
recommend hooking into the windows message handler for that control, and
handling the paint event, drawing the drop text when the control is painted.

    Hope this helps.

-- 
               - Nicholas Paldino [.NET/C# MVP]
               - mvp@spam.guard.caspershouse.com
"Marcin Grzębski" <mgrzebski@taxussi.no.com.spam.pl> wrote in message
news:c340l6$efh$1@atlantis.news.tpi.pl...
> Hi All,
>
> There is a chance to make Label (Windows) without its background?
> I want to add text shadow as a Label that lies below its text Label.
> If i try Label class (with all properties) i can not set upper
> label background transparency.
> Is there any (windows) control that draws text without background?
>
> Help me... pleez!
>
> Marcin


Relevant Pages

  • Re: Sort indicator on label
    ... control working so that I can specify text, ... "Jay Freedman" wrote: ... label on one side of the panel, ... Marlett is a standard Windows font, used for things like the minimize ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Sort indicator on label
    ... "Jay Freedman" wrote: ... control working so that I can specify text, ... label on one side of the panel, ... Marlett is a standard Windows font, used for things like the minimize ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: howto avoid cdc drawing done not in onPaint to be erased?
    ... how Windows works. ... is because the control is updated each 20ms with new object to ... i need to draw something. ... What makes you think that doing things by sending messages is such a big ...
    (microsoft.public.vc.mfc)
  • Matching Tab Control background color
    ... I am using Windows Themed Controls, and sticking to Windows colors, so ... I cannot duplicate the background color of a Tab Control. ... When Access creates an Option Group, it places the associated label so ...
    (microsoft.public.access.forms)
  • Re: howto avoid cdc drawing done not in onPaint to be erased?
    ... Drawing should be done when windows tells you to do it, ... If I were doing this, I would make the control a button with the "owner draw" attribute. ... You don't store CDC's as members of things. ...
    (microsoft.public.vc.mfc)