Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual C++ and WTL/ATL

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I want to save the contents of a combobox in the registry and then retrieve it again the next time the programme executes. In MFC there is a class called CRecentFilesList to do this... Can anybody give me some tips of how to do it directly in the registry ??

Thank you
 
take a look at CreateRegKeyEx - it will create the key if it doesn't exist and open it if it does.

HTH,
jc
 
You could always use the CRegistry Object of the MFC. It's not the best (which is why I wrote my own) but it does what you need.

William
Software Engineer
ICQ No. 56047340
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top