Re: Re: Key exist query in registry

2003-12-30 Thread Dimitrie O. Paun
> Should I then post my patch on how to insert a new key? > And later we do the treeview refresh? Yes, please do so. -- Dimi.

Re: Key exist query in registry

2003-12-30 Thread Zimler Attila
Dimitrie O. Paun wrote: I call RefreshListView() but the key doesn't appear in the list. Should we do some insert to the listview? Or this could be a bug? Hold on, are you inserting a key or a value? Values appear in the listview, keys in the treeview. I'm trying to insert a key. Sorry for

Re: Re: Key exist query in registry

2003-12-30 Thread Dimitrie O. Paun
> I call RefreshListView() but the key doesn't appear in > the list. Should we do some insert to the listview? Or > this could be a bug? Hold on, are you inserting a key or a value? Values appear in the listview, keys in the treeview. But I don't think there is a treeview refresh just yet, so it

Re: Key exist query in registry

2003-12-30 Thread Zimler Attila
Dimitrie O. Paun wrote: From: Zimler Attila <[EMAIL PROTECTED]> How can I insert the newly created hKey to the keytree? (Because without this the newly created key only appears after restarting regedit:) In programs/regedit/framewnd.c, in function _CmdWndProc(), just call RefreshLis

Re: Key exist query in registry

2003-12-28 Thread Dimitrie O. Paun
On December 27, 2003 12:40 pm, Zimler Attila wrote: > Can somebody help me in what is the standard way to query if a key > exists in the registry? I try to implement addig new key in regedit. For that purpose, just use RegOpenKeyEx(): http://msdn.microsoft.com/library/default.asp?url=/libra

Re: Key exist query in registry

2003-12-28 Thread Mike Hearn
On Sat, 2003-12-27 at 18:59, Zimler Attila wrote: > Hi :) I received a mail which tries to explain how windows do this. > Thanks for it. > To make things clear - my question is about wine API to use :) It depends on the location of the code. Inside most dlls use the advapi functions - RegCreateKey

Re: Key exist query in registry

2003-12-27 Thread Brett I. Holcomb
I can't tell you off the top of my head since it's been a while since I did any Windows work. However, you might check the Installshield site docs for REG functions. They have a bunch that you call to query the registry and are modeled on the MS ones. If I remember correctly MS C has them als

Re: Key exist query in registry

2003-12-27 Thread Zimler Attila
Zimler Attila wrote: Hi List, Can somebody help me in what is the standard way to query if a key exists in the registry? I try to implement addig new key in regedit. Attila . Hi :) I received a mail which tries to explain how windows do this. Thanks for it. To make things clear - my questio

Key exist query in registry

2003-12-27 Thread Zimler Attila
Hi List, Can somebody help me in what is the standard way to query if a key exists in the registry? I try to implement addig new key in regedit. Attila