Click here to Skip to main content
16,012,223 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question[Message Deleted] Pin
vasusree18-Jun-06 19:13
vasusree18-Jun-06 19:13 
AnswerRe: how we can get the points with respect to parent dialog Pin
ThatsAlok18-Jun-06 19:16
ThatsAlok18-Jun-06 19:16 
AnswerRe: how we can get the points with respect to parent dialog Pin
Sarath C18-Jun-06 20:11
Sarath C18-Jun-06 20:11 
GeneralRe: how we can get the points with respect to parent dialog Pin
vasusree18-Jun-06 20:20
vasusree18-Jun-06 20:20 
AnswerRe: [Message Deleted] Pin
ThatsAlok18-Jun-06 22:17
ThatsAlok18-Jun-06 22:17 
QuestionRe: [Message Deleted] Pin
Hamid_RT18-Jun-06 23:19
Hamid_RT18-Jun-06 23:19 
Question"How can show me save/load a file in MFC plz!" Pin
secddos18-Jun-06 17:26
secddos18-Jun-06 17:26 
AnswerRe: "How can show me save/load a file in MFC plz!" [modified] Pin
_AnsHUMAN_ 18-Jun-06 17:41
_AnsHUMAN_ 18-Jun-06 17:41 
You can use CStdioFile to Read/Write
<br />
char *pFileName="c:\\abc.txt";<br />
CStdioFile myfile;<br />
if( !myfile.Open( pFileName, CFile::modeCreate<br />
       | CFile::modeWrite | CFile::typeText ) ) {<br />
 <br />
//myfile.ReadLine() // To read from an existing file<br />
//myfile.WriteLine()// To Write to a file<br />


You can also use CFile for the same

Somethings seem HARD to do, until we know how to do them.
Wink | ;-)
_AnShUmAn_


-- modified at 0:04 Monday 19th June, 2006
QuestionRe: "How can show me save/load a file in MFC plz!" Pin
Laxman Auti18-Jun-06 18:45
Laxman Auti18-Jun-06 18:45 
AnswerRe: "How can show me save/load a file in MFC plz!" Pin
ThatsAlok18-Jun-06 19:17
ThatsAlok18-Jun-06 19:17 
AnswerRe: "How can show me save/load a file in MFC plz!" Pin
Hamid_RT18-Jun-06 23:13
Hamid_RT18-Jun-06 23:13 
Questiondialog background color not changing [modified] Pin
locoone18-Jun-06 16:59
locoone18-Jun-06 16:59 
AnswerRe: dialog background color not changing Pin
Randor 18-Jun-06 17:09
professional Randor 18-Jun-06 17:09 
GeneralRe: dialog background color not changing Pin
locoone18-Jun-06 17:21
locoone18-Jun-06 17:21 
AnswerRe: dialog background color not changing Pin
Laxman Auti18-Jun-06 18:50
Laxman Auti18-Jun-06 18:50 
GeneralRe: dialog background color not changing Pin
locoone19-Jun-06 11:33
locoone19-Jun-06 11:33 
AnswerRe: dialog background color not changing Pin
Laxman Auti19-Jun-06 18:48
Laxman Auti19-Jun-06 18:48 
QuestionUse between the panel button and control key Pin
sdhtyjnniutnbjnhbghb18-Jun-06 15:43
sdhtyjnniutnbjnhbghb18-Jun-06 15:43 
QuestionHow to output UTF-8/UTF-16 string in VS? Pin
Best Kiluyar18-Jun-06 15:32
Best Kiluyar18-Jun-06 15:32 
AnswerRe: How to output UTF-8/UTF-16 string in VS? Pin
Michael Dunn18-Jun-06 17:56
sitebuilderMichael Dunn18-Jun-06 17:56 
QuestionInternet Filtering Applications Pin
dipple18-Jun-06 15:14
dipple18-Jun-06 15:14 
AnswerRe: Internet Filtering Applications Pin
Randor 18-Jun-06 16:46
professional Randor 18-Jun-06 16:46 
GeneralRe: Internet Filtering Applications Pin
Rahul Vaishnav1-Nov-10 23:43
Rahul Vaishnav1-Nov-10 23:43 
QuestionUsing WriteFile [modified] Pin
capricious_00118-Jun-06 15:03
capricious_00118-Jun-06 15:03 
AnswerRe: Using WriteFile Pin
Michael Dunn18-Jun-06 15:17
sitebuilderMichael Dunn18-Jun-06 15:17 

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.