It's possbile to remove the black border of the treeview control?

I'm using NET CF 2.0, Windows Mobile 5.0 and c#

Thanks

Re: C# Treeview by Fabien

Fabien
Mon Jun 18 14:53:02 CDT 2007

Hi,

I think you can't, I have just a stupid idea ;-), you can create your
own component inherits from treeview and override the OnPaint method
and draw a white rectangle around your treeview in order to hide the
black border.

BR

Fabien Decret
Windows Embedded Consultant

ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/ | http://fabdecret.blogspot.com/

On 18 juin, 17:32, "Lord Dragon" <wood...@NOSPAMlibero.it> wrote:
> It's possbile to remove the black border of the treeview control?
>
> I'm using NET CF 2.0, Windows Mobile 5.0 and c#
>
> Thanks



Re: C# Treeview by Lord

Lord
Tue Jun 19 02:56:00 CDT 2007

It's the first idea i had but treeview doesn't implement the OnPaint method
:( ... i think i must write my own component from zero, if i want to remove
the black border, or find an another solution...

thanks

"Fabien" <fab_00_2002@msn.com> wrote in message
news:1182196382.086643.198470@m36g2000hse.googlegroups.com...
> Hi,
>
> I think you can't, I have just a stupid idea ;-), you can create your
> own component inherits from treeview and override the OnPaint method
> and draw a white rectangle around your treeview in order to hide the
> black border.
>
> BR
>
> Fabien Decret
> Windows Embedded Consultant
>
> ADENEO (ADESET)
> http://www.adeneo.adetelgroup.com/ | http://fabdecret.blogspot.com/
>
> On 18 juin, 17:32, "Lord Dragon" <wood...@NOSPAMlibero.it> wrote:
>> It's possbile to remove the black border of the treeview control?
>>
>> I'm using NET CF 2.0, Windows Mobile 5.0 and c#
>>
>> Thanks
>
>