Click here to Skip to main content
15,915,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: tricky question about endl Pin
Erik Funkenbusch8-Nov-00 10:38
Erik Funkenbusch8-Nov-00 10:38 
GeneralProblem to get computer name Pin
Cheickna7-Nov-00 7:11
Cheickna7-Nov-00 7:11 
GeneralOpening file resizes the frame Pin
Guillaume Belzile7-Nov-00 5:50
sussGuillaume Belzile7-Nov-00 5:50 
Generalhelp with C++ and TCL Pin
Alejandro7-Nov-00 4:32
Alejandro7-Nov-00 4:32 
GeneralDCOM vs. Sockets Pin
josh7-Nov-00 0:40
josh7-Nov-00 0:40 
GeneralDLL Dialog Misery Pin
Justin Somerville6-Nov-00 20:39
Justin Somerville6-Nov-00 20:39 
GeneralRe: DLL Dialog Misery Pin
David Fedolfi14-Nov-00 3:46
David Fedolfi14-Nov-00 3:46 
GeneralCFileDialog Default Directory Pin
Ron Ginsberg6-Nov-00 13:24
Ron Ginsberg6-Nov-00 13:24 
I need to set the default file open folder for open file in a doc/view/mdi app. I know about the win32 api structure containing an initial folder parameter. The file is serialized.

Do I have to completely subclass the dialog or is there a way to modify that structure variable capturing the menu message on File Open and then pass to the standard CFileOpen without rewriting all of it?

Also, what module (MainFrame, ChildFrame, etc, do I capture the message and set the initial folder variable, then pass on to the standard function?

I do not want to start in My Documents but will load the default path from a parameter I've stored successfully in the registry.

This is a multi-template app depending on file extension, but for now all the files will be stored in one default folder. Nothing to set in the menu resource string tables for this?
GeneralRe: CFileDialog Default Directory Pin
Michael Dunn6-Nov-00 16:05
sitebuilderMichael Dunn6-Nov-00 16:05 
GeneralRe: CFileDialog Default Directory Pin
Ron Ginsberg7-Nov-00 5:35
Ron Ginsberg7-Nov-00 5:35 
GeneralRe: CFileDialog Default Directory Pin
Berkut7-Nov-00 6:10
Berkut7-Nov-00 6:10 
GeneralComputers names on network Pin
CHEICKNA TRAORE6-Nov-00 11:08
CHEICKNA TRAORE6-Nov-00 11:08 
GeneralRe: Computers names on network Pin
Christian6-Nov-00 15:07
Christian6-Nov-00 15:07 
GeneralGetDeviceCaps(BITSPIXEL) Pin
kk96-Nov-00 9:12
kk96-Nov-00 9:12 
GeneralSetup INF Help Pin
KrustY6-Nov-00 3:06
KrustY6-Nov-00 3:06 
GeneralRe: Setup INF Help Pin
manish chaudhari6-Nov-00 4:54
manish chaudhari6-Nov-00 4:54 
GeneralSetup INF Help Pin
KrustY6-Nov-00 3:05
KrustY6-Nov-00 3:05 
GeneralDifferentiate Windows Explorer and IE Pin
Eq6-Nov-00 0:04
Eq6-Nov-00 0:04 
GeneralCopying a value from ListCtrl to Clipboard Pin
Ammar5-Nov-00 23:59
Ammar5-Nov-00 23:59 
GeneralRe: Copying a value from ListCtrl to Clipboard Pin
Anders Molin6-Nov-00 0:23
professionalAnders Molin6-Nov-00 0:23 
GeneralClpping Region is Not Operate with Printpreview Pin
Andrebon5-Nov-00 15:32
Andrebon5-Nov-00 15:32 
GeneralCommunicating with IE Pin
Ray5-Nov-00 8:51
Ray5-Nov-00 8:51 
GeneralRe: Communicating with IE Pin
Eq5-Nov-00 20:32
Eq5-Nov-00 20:32 
Generalabout the keyboard events Pin
Ray5-Nov-00 8:19
Ray5-Nov-00 8:19 
GeneralRe: about the keyboard events Pin
Christian5-Nov-00 17:59
Christian5-Nov-00 17:59 

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.