Registry delete

Zimler Attila hijaszu at hlfslinux.hu
Mon Feb 9 11:08:34 CST 2004


Dimitrie O. Paun wrote:

>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.
>
>  
>
I tested windows version of regedit, and there is only two case (one the 
focus is in the tree, and second the focus in value editor). What is the 
method to test for where is the focus? Is there an function like 
object->has_focus?

Sorry for the delay I dont have computer with windows :) I think this is 
my last question before I can implement the delete :) (but newer know...)

Attila



More information about the wine-devel mailing list