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

This is a discussion on custom plus minus icon infront of every node in a treeview structure in c# within the C# Programming forums, part of the General Programming Boards category; hi all, I want to add a custom plus minus control infront of every node in a treeview structure in ...

  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
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    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, 03: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, 06: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21