Click here to Skip to main content
15,896,915 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalabout floating keyboard Pin
Tripura.K15-Nov-04 18:11
Tripura.K15-Nov-04 18:11 
GeneralRe: about floating keyboard Pin
DaFrawg15-Nov-04 20:48
DaFrawg15-Nov-04 20:48 
GeneralHandling Files in Visual C++ Pin
shanil8015-Nov-04 18:09
shanil8015-Nov-04 18:09 
GeneralRe: Handling Files in Visual C++ Pin
shiraztk15-Nov-04 23:57
shiraztk15-Nov-04 23:57 
GeneralRe: Handling Files in Visual C++ Pin
krmed16-Nov-04 0:53
krmed16-Nov-04 0:53 
GeneralRe: Handling Files in Visual C++ Pin
David Crow16-Nov-04 3:04
David Crow16-Nov-04 3:04 
GeneralRe: Handling Files in Visual C++ Pin
shanil8019-Nov-04 3:12
shanil8019-Nov-04 3:12 
GeneralRe: Handling Files in Visual C++ Pin
David Crow19-Nov-04 3:56
David Crow19-Nov-04 3:56 
shanil80 wrote:
Now my requirement is that i should read the file from the disk and display it.

This is where GetPrivateProfilexxx() comes in.

shanil80 wrote:
But the user should not be able to edit it directly.

You'll need to hide the file, or change its permissions at the OS level. Whatever you do, however, will not keep the most determined person from altering the file.

shanil80 wrote:
How to populate the combo box with the sections?

TCHAR szBuffer[1024];
GetPrivateProfileString(NULL, NULL, "", szBuffer, sizeof(szBuffer), ...);
Now make multiple calls to CComboBox::AddString().


"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow


GeneralRe: Handling Files in Visual C++ Pin
shanil8019-Nov-04 17:27
shanil8019-Nov-04 17:27 
GeneralRe: Handling Files in Visual C++ Pin
David Crow22-Nov-04 2:33
David Crow22-Nov-04 2:33 
Generalload image fail Pin
vc-programmer-15-Nov-04 18:00
vc-programmer-15-Nov-04 18:00 
GeneralRe: load image fail Pin
pubududilena15-Nov-04 20:31
pubududilena15-Nov-04 20:31 
GeneralRe: load image fail Pin
namaskaaram15-Nov-04 21:44
namaskaaram15-Nov-04 21:44 
GeneralRe: load image fail Pin
vc-programmer-15-Nov-04 21:59
vc-programmer-15-Nov-04 21:59 
GeneralRe: load image fail Pin
namaskaaram15-Nov-04 22:26
namaskaaram15-Nov-04 22:26 
GeneralTreeviw control and Unicode Pin
Alpha Siera15-Nov-04 17:46
Alpha Siera15-Nov-04 17:46 
GeneralHelp Pin
James198515-Nov-04 16:14
James198515-Nov-04 16:14 
GeneralRe: Help Pin
ThatsAlok15-Nov-04 23:10
ThatsAlok15-Nov-04 23:10 
QuestionHow to change font color of slide? Pin
cengyikun52115-Nov-04 15:33
susscengyikun52115-Nov-04 15:33 
AnswerRe: How to change font color of slide? Pin
cengyikun16-Nov-04 14:12
susscengyikun16-Nov-04 14:12 
GeneralHTML on CPropertySheet Pin
Jack_pt15-Nov-04 15:22
Jack_pt15-Nov-04 15:22 
GeneralC++ Help Pin
glowskull0315-Nov-04 14:14
glowskull0315-Nov-04 14:14 
GeneralRe: C++ Help Pin
DaFrawg15-Nov-04 20:58
DaFrawg15-Nov-04 20:58 
GeneralRe: C++ Help Pin
dharani16-Nov-04 23:42
dharani16-Nov-04 23:42 
GeneralRe: C++ Help Pin
DaFrawg18-Nov-04 3:33
DaFrawg18-Nov-04 3:33 

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.