-
September 23rd, 2013, 04:06 AM
#1
SetCurrentDirectory problem ..
I am using CFileDialog to open different types of files in my application. I open file from c:\stdparamfile directory by File Menu
Open menu item. (OnOpenDocument) . But when I change directory and open other type of file, that path is set for OnOpenDocument function. I need to select path c:\stdparamfile directory again.
I am using GetCurrentDirectory , SetCurrentDirectory functions but problem exists.
I set dialog path by dlg.m_ofn.lpstrInitialDir .
How to get back to original directory ?
pl help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|