Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPen Drive Formate Pin
Davitor27-May-09 19:26
Davitor27-May-09 19:26 
QuestionHow to check whether the path selected is a drive name Pin
V K 227-May-09 19:23
V K 227-May-09 19:23 
AnswerRe: How to check whether the path selected is a drive name Pin
_AnsHUMAN_ 27-May-09 19:29
_AnsHUMAN_ 27-May-09 19:29 
AnswerRe: How to check whether the path selected is a drive name Pin
Rajesh R Subramanian27-May-09 22:07
professionalRajesh R Subramanian27-May-09 22:07 
AnswerRe: How to check whether the path selected is a drive name Pin
Stuart Dootson27-May-09 22:10
professionalStuart Dootson27-May-09 22:10 
Questionvc++ mfc( important please see it and reply me ) Pin
vkm198427-May-09 17:11
vkm198427-May-09 17:11 
AnswerRe: vc++ mfc( important please see it and reply me ) Pin
David Crow27-May-09 17:22
David Crow27-May-09 17:22 
QuestionCString replace function Pin
Muhammad Hassan Haider27-May-09 11:26
Muhammad Hassan Haider27-May-09 11:26 
I use the GetFilePath() function to find the path of a file in CFileFind class.
The result it returns i store it in a CString class object

e.g. i get c:\temp\mypic.bmp

i need to input this name to a CxImage class object but for that it needs to have "\\" instead of "\"
but when i use the CString function replace it wont work

i have tried
name.replace("\","\\");
name.replace(CString("\"),CString("\\"));
name.replace('\','\\');

Help needed

AnswerRe: CString replace function Pin
Stuart Dootson27-May-09 13:46
professionalStuart Dootson27-May-09 13:46 
AnswerRe: CString replace function Pin
David Crow27-May-09 16:57
David Crow27-May-09 16:57 
AnswerCString replace function Pin
Muhammad Hassan Haider27-May-09 22:24
Muhammad Hassan Haider27-May-09 22:24 
GeneralRe: CString replace function Pin
ThatsAlok28-May-09 6:07
ThatsAlok28-May-09 6:07 
QuestionThe strange behaviour of the text. Pin
daavena27-May-09 10:50
daavena27-May-09 10:50 
AnswerRe: The strange behaviour of the text. Pin
Nibu babu thomas27-May-09 18:13
Nibu babu thomas27-May-09 18:13 
QuestionDll - MFC - Customised browser Pin
rosemaried27-May-09 6:26
rosemaried27-May-09 6:26 
AnswerRe: Dll - MFC - Customised browser Pin
«_Superman_»27-May-09 22:08
professional«_Superman_»27-May-09 22:08 
Questionsizeof related in c/c++ Pin
hawk23reddy27-May-09 4:39
hawk23reddy27-May-09 4:39 
AnswerRe: sizeof related in c/c++ Pin
Emilio Garavaglia27-May-09 4:50
Emilio Garavaglia27-May-09 4:50 
GeneralRe: sizeof related in c/c++ Pin
Stuart Dootson27-May-09 5:10
professionalStuart Dootson27-May-09 5:10 
GeneralRe: sizeof related in c/c++ Pin
Emilio Garavaglia27-May-09 7:41
Emilio Garavaglia27-May-09 7:41 
GeneralRe: sizeof related in c/c++ Pin
Stuart Dootson27-May-09 7:53
professionalStuart Dootson27-May-09 7:53 
AnswerRe: sizeof related in c/c++ Pin
Stuart Dootson27-May-09 4:58
professionalStuart Dootson27-May-09 4:58 
AnswerRe: sizeof related in c/c++ Pin
David Crow27-May-09 5:00
David Crow27-May-09 5:00 
GeneralRe: sizeof related in c/c++ Pin
hawk23reddy27-May-09 5:23
hawk23reddy27-May-09 5:23 
GeneralRe: sizeof related in c/c++ Pin
Stuart Dootson27-May-09 7:38
professionalStuart Dootson27-May-09 7:38 

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.