Groups | Blog | Home
all groups > c# > june 2005 >

c# : custom drawing tree view control


Angapparaj K via .NET 247
6/5/2005 11:52:26 PM
Hi,

Iam trying to create a custom tree view control in thich i need=
to display images for some of the nodes=2E The images need on the=
right side of the nodes=2E Is there any way to do this besides=
handling the windows notification messages? even if possible=
only thro windows messages, can some one guide me to some c=
sharp code implementing something similar=2E

yours,

K=2EAngapparaj

--------------------------------
From: Angapparaj K

-----------------------
Posted by a user from =2ENET 247 (http://www=2Edotnet247=2Ecom/)

Carlos J. Quintero [.NET MVP]
6/6/2005 12:00:00 AM
It's VB.NET Code, but this article of mine shows you how to owner-draw a
treeview in .NET:

Custom Draw TreeView in VB.NET
http://www.codeproject.com/vb/net/CustomDrawTreeview.asp

Also this one can be useful:

CustDTv sample illustrates custom draw in a Tree-View control
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q248496

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"Angapparaj K via .NET 247" <anonymous@dotnet247.com> escribió en el mensaje
news:uHA4NRmaFHA.2900@TK2MSFTNGP15.phx.gbl...
Hi,

Iam trying to create a custom tree view control in thich i need to display
images for some of the nodes. The images need on the right side of the
nodes. Is there any way to do this besides handling the windows notification
messages? even if possible only thro windows messages, can some one guide me
to some c sharp code implementing something similar.

yours,

K.Angapparaj

jeff NO[at]SPAM bennet-tec.com
6/11/2005 4:13:24 AM
If you are open to using an existing TreeView control
that supports images on Right side of nodes
then take a look at TList .NET
www.Bennet-Tec.com/btproducts/TList/TList.htm

* * Please include a copy of this message with your reply

Jeff Bennett
Jeff @ Bennet-Tec.Com

* Bennet-Tec Information Systems, Inc
* 50 Jericho Tpk, Jericho, NY 11753
* Phone 516 997 5596, Fax - 5597
* RELIABLE Components Make You Look Sharp!
* TList/Pro * ALLText HT/Pro * MetaDraw *
* Custom Software Development Services Too.
* WWW.Bennet-Tec.Com

=================== ===================

[quoted text, click to view]
jeff NO[at]SPAM bennet-tec.com
6/11/2005 4:13:26 AM
If you are open to using an existing TreeView control
that supports images on Right side of nodes
then take a look at TList .NET
www.Bennet-Tec.com/btproducts/TList/TList.htm

* * Please include a copy of this message with your reply

Jeff Bennett
Jeff @ Bennet-Tec.Com

* Bennet-Tec Information Systems, Inc
* 50 Jericho Tpk, Jericho, NY 11753
* Phone 516 997 5596, Fax - 5597
* RELIABLE Components Make You Look Sharp!
* TList/Pro * ALLText HT/Pro * MetaDraw *
* Custom Software Development Services Too.
* WWW.Bennet-Tec.Com

=================== ===================

[quoted text, click to view]
AddThis Social Bookmark Button