Re: C# Treeview

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



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...@xxxxxxxxxxxxxxx> 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


.



Relevant Pages

  • Re: C# Treeview
    ... It's the first idea i had but treeview doesn't implement the OnPaint method ... the black border, ... Windows Embedded Consultant ...
    (microsoft.public.pocketpc.developer)
  • Re: TreeView Bold Work Around Help
    ... > Custom Draw TreeView in VB.NET ... >> TreeView to a bold property, the bounds or rectangle that draws the node ... I have read all sorts of suggestions about making all the font ...
    (microsoft.public.dotnet.languages.vb)
  • Multicolumn - Treeview
    ... I'm trying to draw an additional column in a treeview. ... override the WndProc of the Form and catch the WM_NOTIFY ... Protected Overrides Sub WndProc ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: How can I create group logic with using classes?
    ... And draw it on Treeview? ... Each line in your list corresponds to a tTreeNode. ...
    (borland.public.delphi.language.objectpascal)
  • Re: Lines in treeview
    ... >> algorithm to draw the branch lines on the left of the items. ... the usual way is to let the Treeview to draw ... I'm looking for an algorithm that can let me draw the branch lines for the ...
    (microsoft.public.win32.programmer.ui)