Click here to Skip to main content
15,900,108 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Modifying MFC Pin
Anonymous15-May-05 6:34
Anonymous15-May-05 6:34 
GeneralRe: Modifying MFC Pin
Maximilien15-May-05 8:48
Maximilien15-May-05 8:48 
GeneralRe: Modifying MFC Pin
Jaime Olivares15-May-05 11:02
Jaime Olivares15-May-05 11:02 
GeneralRe: Modifying MFC Pin
narendra_ b15-May-05 18:54
narendra_ b15-May-05 18:54 
GeneralRe: Modifying MFC Pin
jc0dex16-May-05 11:44
jc0dex16-May-05 11:44 
Generalusing a control from a .dll Pin
alex__b15-May-05 5:38
professionalalex__b15-May-05 5:38 
GeneralChanging the root in CFileDialog Pin
g_sol_115-May-05 3:48
g_sol_115-May-05 3:48 
GeneralRe: Changing the root in CFileDialog Pin
PJ Arends15-May-05 10:35
professionalPJ Arends15-May-05 10:35 
CFileDialog has a member m_ofn, which is an OPENFILENAME structure. In that structure, you have to set the lpstrInitialDir variable to point to a string containg the folder in question.
CFileDialog FileDialog(TRUE);
FileDialog.m_ofn.lpstrInitialDir = "C:\\MyDirectory";
FileDialog.DoModal();




"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" mYkel - 21 Jun '04

Within you lies the power for good - Use it!
Honoured as one of The Most Helpful Members of 2004

GeneralRe: Changing the root in CFileDialog Pin
g_sol_116-May-05 2:00
g_sol_116-May-05 2:00 
GeneralRe: Changing the root in CFileDialog Pin
PJ Arends16-May-05 7:23
professionalPJ Arends16-May-05 7:23 
GeneralThreads using up too much CPU Pin
15-May-05 3:47
suss15-May-05 3:47 
GeneralRe: Threads using up too much CPU Pin
the one dono15-May-05 6:20
the one dono15-May-05 6:20 
QuestionQuestion: How to retrieve the HINSTANCE when you have HWND? Pin
lxcid14-May-05 23:50
lxcid14-May-05 23:50 
AnswerRe: Question: How to retrieve the HINSTANCE when you have HWND? Pin
bharadwajgangadhar15-May-05 2:05
bharadwajgangadhar15-May-05 2:05 
AnswerRe: Question: How to retrieve the HINSTANCE when you have HWND? Pin
PJ Arends15-May-05 10:42
professionalPJ Arends15-May-05 10:42 
GeneralVisual C++ Callbacks Issue - Auto Callbacks Pin
Axonn Echysttas14-May-05 23:08
Axonn Echysttas14-May-05 23:08 
GeneralRe: Visual C++ Callbacks Issue - Auto Callbacks Pin
the one dono15-May-05 4:47
the one dono15-May-05 4:47 
GeneralRe: Visual C++ Callbacks Issue - Auto Callbacks Pin
Axonn Echysttas15-May-05 5:47
Axonn Echysttas15-May-05 5:47 
GeneralRe: Visual C++ Callbacks Issue - Auto Callbacks Pin
the one dono15-May-05 6:34
the one dono15-May-05 6:34 
GeneralRe: Visual C++ Callbacks Issue - Auto Callbacks Pin
Axonn Echysttas15-May-05 11:59
Axonn Echysttas15-May-05 11:59 
GeneralRe: Visual C++ Callbacks Issue - Auto Callbacks Pin
ThatsAlok15-May-05 18:27
ThatsAlok15-May-05 18:27 
GeneralRe: Visual C++ Callbacks Issue - Auto Callbacks Pin
Axonn Echysttas16-May-05 2:08
Axonn Echysttas16-May-05 2:08 
QuestionGetting WM_DROPFILES from child control? Pin
matthew18014-May-05 19:26
matthew18014-May-05 19:26 
GeneralAddFontResource Pin
Inov14-May-05 16:52
Inov14-May-05 16:52 
GeneralRe: AddFontResource Pin
Jack Puppy14-May-05 17:38
Jack Puppy14-May-05 17: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.