From: "Bart" dcsx on
the OS look doesn't matter.
I want to be able to create SLE and text with rounded borders, circles,
triangle, .....

"Malcolm" <malcolm-news2008(a)jobstream.com> schreef in bericht
news:mls1o6-gd6.ln1(a)malcolmdesk.malph.dyndns.org.malph.dyndns.org...
> Bart wrote:
>> Hi,
>>
>> I'm looking for a way to have a single line edit or a fixed text with
>> rounded borders.
>
> Which OS/look
> (is this a question about things like non 3d look SLE which IIRC has
> rounded borders anyway)
>
> Also what you mean by a fixed text with founded borders - normally fixed
> texts have no visible border as such.
>
> __________ Informatie van ESET NOD32 Antivirus, versie van database
> viruskenmerken 4424 (20090914) __________
>
> Het bericht is gecontroleerd door ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>



__________ Informatie van ESET NOD32 Antivirus, versie van database
viruskenmerken 4424 (20090914) __________

Het bericht is gecontroleerd door ESET NOD32 Antivirus.

http://www.eset.com






__________ Informatie van ESET NOD32 Antivirus, versie van database
viruskenmerken 4424 (20090914) __________

Het bericht is gecontroleerd door ESET NOD32 Antivirus.

http://www.eset.com






__________ Informatie van ESET NOD32 Antivirus, versie van database viruskenmerken 4424 (20090914) __________

Het bericht is gecontroleerd door ESET NOD32 Antivirus.

http://www.eset.com




From: Malcolm on
Bart wrote:
> the OS look doesn't matter.
> I want to be able to create SLE and text with rounded borders, circles,
> triangle, .....

Triangles makes it a more interesting problem.

OK, we have don't rounded borders but it sounds like not in the way you
are interested in - good luck!
From: Amilcar A. Camargo on
Hi Bart,

On Mon, 14 Sep 2009 13:33:54 +0200, "Bart" <dcsx(a)telenet.be***remove stars>
wrote:

>Hi,
>
>I'm looking for a way to have a single line edit or a fixed text with
>rounded borders.
>
>didn't find anything with google.

Have not tried it but i think you will have to intercept the WM_NCPAINT message
and draw the border yourself in a subclass of SLE (or fixedtext). To draw a
rounded rectangle you will need to use RoundRect(..) in win32SDK

expect to have to disable windows themes for the control so your own drawing
works ok.

Best regards,

Amilcar A. Camargo F.
Guatemala, C. A.
From: Geoff Schaller on
<g>

Pick another language.



"Bart" <dcsx(a)telenet.be***remove stars> wrote in message
news:i1urm.67358$uC1.57875(a)newsfe18.ams2:

> the OS look doesn't matter.
> I want to be able to create SLE and text with rounded borders, circles,
> triangle, .....
>
> "Malcolm" <malcolm-news2008(a)jobstream.com> schreef in bericht
> news:mls1o6-gd6.ln1(a)malcolmdesk.malph.dyndns.org.malph.dyndns.org...
>
> > Bart wrote:
>
> >> Hi,
> >>
> >> I'm looking for a way to have a single line edit or a fixed text with
> >> rounded borders.
> >
>
> > Which OS/look
> > (is this a question about things like non 3d look SLE which IIRC has
> > rounded borders anyway)
> >
> > Also what you mean by a fixed text with founded borders - normally fixed
> > texts have no visible border as such.
> >
> > __________ Informatie van ESET NOD32 Antivirus, versie van database
> > viruskenmerken 4424 (20090914) __________
> >
> > Het bericht is gecontroleerd door ESET NOD32 Antivirus.
> >
> > http://www.eset.com
> >
> >
> >
>
>
>
>
> __________ Informatie van ESET NOD32 Antivirus, versie van database
> viruskenmerken 4424 (20090914) __________
>
> Het bericht is gecontroleerd door ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
>
>
>
> __________ Informatie van ESET NOD32 Antivirus, versie van database
> viruskenmerken 4424 (20090914) __________
>
> Het bericht is gecontroleerd door ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
>
>
>
> __________ Informatie van ESET NOD32 Antivirus, versie van database viruskenmerken 4424 (20090914) __________
>
> Het bericht is gecontroleerd door ESET NOD32 Antivirus.
>
> http://www.eset.com