On Fri, 6 Feb 2004, Zimler Attila wrote:
Hi,
I tried to found out which value to use in framewnd.c to add key delete support (and rename). I found out that both key and value delete use ID_EDIT_DELETE. My question is: How can I separate the two event?
Yes, that's a bit tricky. I guess the answer is: see where the focus is. If it's on the treeview, delete the key. If it's on the listview delete the value. But what do you do if none of the two has the focus? The best thing is to test the Window's version of regedit, and see what it does.