Click here to Skip to main content
15,902,635 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Pls do help me out......Very urgent!!!!! Pin
harish2rock8-Mar-08 21:07
harish2rock8-Mar-08 21:07 
GeneralRe: Pls do help me out......Very urgent!!!!! Pin
harish2rock11-Mar-08 2:02
harish2rock11-Mar-08 2:02 
GeneralInnosetup and side-by-side assemblies Pin
dontknowitall2-Mar-08 3:51
dontknowitall2-Mar-08 3:51 
GeneralRe: Innosetup and side-by-side assemblies Pin
krmed2-Mar-08 7:42
krmed2-Mar-08 7:42 
GeneralRe: Innosetup and side-by-side assemblies Pin
dontknowitall2-Mar-08 8:52
dontknowitall2-Mar-08 8:52 
GeneralRe: Innosetup and side-by-side assemblies Pin
krmed3-Mar-08 0:43
krmed3-Mar-08 0:43 
GeneralRe: Innosetup and side-by-side assemblies Pin
PJ Arends2-Mar-08 22:35
professionalPJ Arends2-Mar-08 22:35 
QuestionCFileDialog Pin
Henri2-Mar-08 3:40
Henri2-Mar-08 3:40 
Is there any way to prevent CFileDialog from changing forlders ?
Or at least to always default to a given folder.
I want to use CFileDialog just to look at files in one folder and one folder only.

a) can I disable/remove the folder choices from the CFileDialog window.
b) if not can I force CFileDialog to only look in one folder ?
c) even if user changes folder, when done can I force CFileDialog next time to go back to my given folder ?

I could not find an option to disable CFileDialog browsing, so I tried to force it to always look at my folder only, like so.

CFileDialog dlg(TRUE, "pfl", name, ..., ... | OFN_NOCHANGEDIR)

SetCurrentDirectory ("My Fixed Choice");
dlg.m_ofn.lpstrInitialDir = "My Fixed Choice";


if (dlg.DoModal() == IDOK) {
}

If the user changes folders, it next time goes back to that folder and ignores the above ????

Thanks
Henri
GeneralRe: CFileDialog Pin
Doc Lobster2-Mar-08 4:40
Doc Lobster2-Mar-08 4:40 
GeneralRe: CFileDialog Pin
Mark Salsbery2-Mar-08 7:21
Mark Salsbery2-Mar-08 7:21 
GeneralRe: CFileDialog Pin
Sameerkumar Namdeo2-Mar-08 16:15
Sameerkumar Namdeo2-Mar-08 16:15 
Generalcant create process :( Pin
david bagaturia2-Mar-08 1:24
david bagaturia2-Mar-08 1:24 
GeneralRe: cant create process :( Pin
Hamid_RT2-Mar-08 4:50
Hamid_RT2-Mar-08 4:50 
QuestionForce flush of unwritten data to USB stick? Pin
Dominik Reichl2-Mar-08 0:54
Dominik Reichl2-Mar-08 0:54 
AnswerRe: Force flush of unwritten data to USB stick? Pin
dontknowitall2-Mar-08 3:39
dontknowitall2-Mar-08 3:39 
QuestionRe: Force flush of unwritten data to USB stick? Pin
Dominik Reichl2-Mar-08 4:00
Dominik Reichl2-Mar-08 4:00 
GeneralRe: Force flush of unwritten data to USB stick? Pin
dontknowitall2-Mar-08 9:00
dontknowitall2-Mar-08 9:00 
GeneralRe: Force flush of unwritten data to USB stick? Pin
Dominik Reichl2-Mar-08 9:57
Dominik Reichl2-Mar-08 9:57 
AnswerRe: Force flush of unwritten data to USB stick? Pin
JudyL_MD3-Mar-08 2:13
JudyL_MD3-Mar-08 2:13 
Generaldeque best practices Pin
George_George1-Mar-08 23:18
George_George1-Mar-08 23:18 
GeneralRe: deque best practices Pin
Chris Losinger2-Mar-08 5:15
professionalChris Losinger2-Mar-08 5:15 
GeneralRe: deque best practices Pin
George_George2-Mar-08 14:09
George_George2-Mar-08 14:09 
GeneralRe: deque best practices Pin
Chris Losinger2-Mar-08 14:12
professionalChris Losinger2-Mar-08 14:12 
GeneralRe: deque best practices Pin
George_George2-Mar-08 14:51
George_George2-Mar-08 14:51 
GeneralRe: deque best practices Pin
Chris Losinger2-Mar-08 15:02
professionalChris Losinger2-Mar-08 15:02 

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.