Click here to Skip to main content
15,936,821 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCListCtrl ownder draw checkbox problem Pin
YaronNir30-May-06 8:24
YaronNir30-May-06 8:24 
AnswerRe: CListCtrl ownder draw checkbox problem Pin
Laxman Auti30-May-06 18:33
Laxman Auti30-May-06 18:33 
GeneralRe: CListCtrl ownder draw checkbox problem Pin
YaronNir30-May-06 20:29
YaronNir30-May-06 20:29 
QuestionDo you know how can I use Windows Media Player ActiveX control VC++ 2005??? [modified] Pin
high30-May-06 7:47
high30-May-06 7:47 
QuestionSave last dialog confiuguration MFC Pin
celllllllll30-May-06 7:38
celllllllll30-May-06 7:38 
AnswerRe: Save last dialog confiuguration MFC Pin
Hamid_RT30-May-06 8:02
Hamid_RT30-May-06 8:02 
GeneralRe: Save last dialog confiuguration MFC Pin
celllllllll30-May-06 9:09
celllllllll30-May-06 9:09 
GeneralRe: Save last dialog confiuguration MFC Pin
Zac Howland30-May-06 10:19
Zac Howland30-May-06 10:19 
I would recommend against using the registry for a couple reasons:

1) It is a very old technology that is being phased out (slowly, but surely)
2) It is far more complicated than what you need anyway.

A simple solution is to write out a text file in some format (XML is nice for this) that you check for when your app starts. If the file exists, it loads the settings; if not, it uses a default configuration. Additionally, you can configure the file to exist anywhere you like (though, if you want to cooperate properly with Windows XP, you should put it in the users Document and Settings directory).

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac
AnswerRe: Save last dialog confiuguration MFC Pin
Laxman Auti30-May-06 18:39
Laxman Auti30-May-06 18:39 
QuestionSendMessage isnt quite working [modified] Pin
Ista30-May-06 7:22
Ista30-May-06 7:22 
AnswerRe: SendMessage isnt quite working Pin
PJ Arends30-May-06 8:22
professionalPJ Arends30-May-06 8:22 
GeneralRe: SendMessage isnt quite working Pin
Ista30-May-06 9:12
Ista30-May-06 9:12 
AnswerRe: SendMessage isnt quite working [modified] Pin
Eric Dahlvang30-May-06 8:46
Eric Dahlvang30-May-06 8:46 
Questiondisable auto-complete in dropdown [modified] Pin
elephantstar30-May-06 6:10
elephantstar30-May-06 6:10 
AnswerRe: disable auto-complete in dropdown [modified] Pin
valikac30-May-06 6:45
valikac30-May-06 6:45 
GeneralRe: disable auto-complete in dropdown [modified] Pin
elephantstar30-May-06 7:20
elephantstar30-May-06 7:20 
GeneralRe: disable auto-complete in dropdown [modified] Pin
valikac30-May-06 7:29
valikac30-May-06 7:29 
GeneralRe: disable auto-complete in dropdown [modified] Pin
elephantstar30-May-06 14:24
elephantstar30-May-06 14:24 
GeneralRe: disable auto-complete in dropdown [modified] Pin
valikac30-May-06 15:36
valikac30-May-06 15:36 
QuestionPrevent CListCtrl from hiding scrollbar Pin
stefisko30-May-06 6:08
stefisko30-May-06 6:08 
QuestionHelp Pls - C++ and ADO problem Pin
antonaras30-May-06 5:39
antonaras30-May-06 5:39 
AnswerRe: Help Pls - C++ and ADO problem Pin
Steve S30-May-06 6:10
Steve S30-May-06 6:10 
GeneralRe: Help Pls - C++ and ADO problem Pin
antonaras30-May-06 6:25
antonaras30-May-06 6:25 
GeneralRe: Help Pls - C++ and ADO problem Pin
Steve S30-May-06 6:37
Steve S30-May-06 6:37 
GeneralRe: Help Pls - C++ and ADO problem Pin
antonaras30-May-06 6:50
antonaras30-May-06 6:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.