Path Names
When you create a file open dialog box and capture the result as a CString, i.e:
m_sSomeSting = m_ldFileOpen.GetPathName();
What is the foramt of that string? Or, to be more precise, how would I specify a path manually.
I tried just saying, for example:
m_sSomeSting = "C:\Blah\Blah Blah2\Blah.blh";
But it warns me that \B etc... are invalid escape key sequences. When I ignore these, it just doesn''t work.
Specifically, I am loading bitmaps from the hard disk, and use a file open dialog box to allow the user to select a file, but I want to be able to open a file from inside the program.
Thanks V. much.
Lor.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement