Hi, i'm trying to writing a program to manage my mp3 collection. The interface is splitted in two parts and the left part contains a tree control where bands, albums and songs are shown.
Now i've a few questions :
1) I can add a right-click menu to entire tree but i want to add different menus to different items and i don't want any pop-up menu when right-clicked on an empty spot in the tree. I mean, when i click on a band item i want the "Add Album" menu, "Add Song" menu for an album item etc. How can i do that?
2) When i add new item, i want it to appear like in Windows Explorer when you add new folder. As the box appears with highlighted "New Folder" and it's ready for editing. How can i do that too?
Thanks in advance.
Now i've a few questions :
1) I can add a right-click menu to entire tree but i want to add different menus to different items and i don't want any pop-up menu when right-clicked on an empty spot in the tree. I mean, when i click on a band item i want the "Add Album" menu, "Add Song" menu for an album item etc. How can i do that?
2) When i add new item, i want it to appear like in Windows Explorer when you add new folder. As the box appears with highlighted "New Folder" and it's ready for editing. How can i do that too?
Thanks in advance.