Click here to Skip to main content
15,912,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is MFC DLL reentrant? Pin
Mark Salsbery26-Nov-08 5:04
Mark Salsbery26-Nov-08 5:04 
GeneralRe: Is MFC DLL reentrant? Pin
rp_suman28-Nov-08 18:36
rp_suman28-Nov-08 18:36 
GeneralRe: Is MFC DLL reentrant? Pin
Mark Salsbery28-Nov-08 19:05
Mark Salsbery28-Nov-08 19:05 
QuestionTransparent Window Pin
Aabid26-Nov-08 2:54
Aabid26-Nov-08 2:54 
AnswerRe: Transparent Window Pin
Ahmed Charfeddine26-Nov-08 3:23
Ahmed Charfeddine26-Nov-08 3:23 
AnswerRe: Transparent Window Pin
Code-o-mat26-Nov-08 4:15
Code-o-mat26-Nov-08 4:15 
AnswerRe: Transparent Window Pin
My2Cents30-Nov-08 12:51
My2Cents30-Nov-08 12:51 
QuestionDrag n Drop not working with desktop icon on Win7. Pin
Shashi.Shinde26-Nov-08 2:28
Shashi.Shinde26-Nov-08 2:28 
RantRe: Drag n Drop not working with desktop icon on Win7. Pin
Ahmed Charfeddine26-Nov-08 3:27
Ahmed Charfeddine26-Nov-08 3:27 
Question¿Quién sabe? alphablending 2 bitmaps Pin
Chesnokov Yuriy26-Nov-08 2:04
professionalChesnokov Yuriy26-Nov-08 2:04 
AnswerRe: ¿Quién sabe? alphablending 2 bitmaps Pin
Christian Graus26-Nov-08 8:09
protectorChristian Graus26-Nov-08 8:09 
AnswerRe: ¿Quién sabe? alphablending 2 bitmaps Pin
Chesnokov Yuriy26-Nov-08 19:30
professionalChesnokov Yuriy26-Nov-08 19:30 
NewsRe: ¿Quién sabe? alphablending 2 bitmaps Pin
Chesnokov Yuriy26-Nov-08 19:36
professionalChesnokov Yuriy26-Nov-08 19:36 
AnswerRe: ¿Quién sabe? alphablending 2 bitmaps Pin
Gabriel.P.G28-Nov-08 16:03
Gabriel.P.G28-Nov-08 16:03 
QuestionShort cut key..... Pin
m_mun26-Nov-08 0:53
m_mun26-Nov-08 0:53 
AnswerRe: Short cut key..... Pin
sashoalm26-Nov-08 2:09
sashoalm26-Nov-08 2:09 
AnswerRe: Short cut key..... Pin
Aabid26-Nov-08 3:20
Aabid26-Nov-08 3:20 
QuestionAplication header is not including while adding class with wizard Pin
krishnakumartm26-Nov-08 0:48
krishnakumartm26-Nov-08 0:48 
AnswerRe: Aplication header is not including while adding class with wizard Pin
_AnsHUMAN_ 26-Nov-08 1:19
_AnsHUMAN_ 26-Nov-08 1:19 
QuestionInvalidate() == InvalidateRect() Pin
koumodaki25-Nov-08 23:30
koumodaki25-Nov-08 23:30 
AnswerRe: Invalidate() == InvalidateRect() Pin
sashoalm25-Nov-08 23:36
sashoalm25-Nov-08 23:36 
QuestionHow to provide ICON to the documents created from application Pin
SNI25-Nov-08 22:54
SNI25-Nov-08 22:54 
AnswerRe: How to provide ICON to the documents created from application Pin
Code-o-mat25-Nov-08 23:58
Code-o-mat25-Nov-08 23:58 
Questionwrite every data in new line through CFile Pin
AnithaSubramani25-Nov-08 22:44
AnithaSubramani25-Nov-08 22:44 
AnswerRe: write every data in new line through CFile Pin
SNI25-Nov-08 22:49
SNI25-Nov-08 22:49 
void WriteFile(CString sFilename, CString sText)
{
CFileException CFE;
CStdioFile outFile;
if (outFile.Open(sFilename, CFile::modeCreate | CFile::modeNoTruncate |
CFile::modeWrite | CFile::typeText, &CFE))
{
// Seek to the end
outFile.SeekToEnd();

// Start outputting to the new file
outFile.WriteString(sText);
outFile.WriteString("\n");
// Cleanup
outFile.Close();
}
you can use above function to do this..i hope this will help

SNI

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.