Thread: custom plus minus icon infront of every node in a treeview structure in c#

  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    1

    custom plus minus icon infront of every node in a treeview structure in c#

    hi all,
    I want to add a custom plus minus control infront of every node in a treeview structure in c#(instaed of ShowPlusMinus property). But i don't want to use DrawDefault property.Can anyone help me in doing this.

    Thanks

  2. #2
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    You would have to overload the default paint or OnPaint() for the control. The style would be set to owner draw.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help Debugging my AVL tree program.
    By Nextstopearth in forum C Programming
    Replies: 2
    Last Post: 04-04-2009, 01:48 AM
  2. linked list question
    By brb9412 in forum C Programming
    Replies: 16
    Last Post: 01-04-2009, 04:05 PM
  3. Concatenating in linked list
    By drater in forum C Programming
    Replies: 12
    Last Post: 05-02-2008, 11:10 PM
  4. Looking for a few examples..
    By Brain Cell in forum C++ Programming
    Replies: 5
    Last Post: 12-28-2005, 07:57 AM
  5. Translating Java to C. Mergesorting linked list.
    By Mikro in forum C Programming
    Replies: 10
    Last Post: 06-22-2004, 11:34 AM