Click here to Skip to main content
16,014,671 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Accessing xml node names using dom... Pin
Alwin7526-Nov-02 22:37
Alwin7526-Nov-02 22:37 
GeneralRe: Accessing xml node names using dom... Pin
Stephane Rodriguez.26-Nov-02 22:46
Stephane Rodriguez.26-Nov-02 22:46 
QuestionHow paiting my dialog background Pin
Leedoriden26-Nov-02 22:18
Leedoriden26-Nov-02 22:18 
AnswerRe: How paiting my dialog background Pin
Rage26-Nov-02 22:53
professionalRage26-Nov-02 22:53 
GeneralWho can give me the algorithm of arranging classes Pin
happyboy26-Nov-02 22:10
happyboy26-Nov-02 22:10 
GeneralRe: Who can give me the algorithm of arranging classes Pin
Christian Graus27-Nov-02 0:06
protectorChristian Graus27-Nov-02 0:06 
Question1 app - 2 Docs - MDI or SDI? Pin
Stefan Bolder26-Nov-02 22:00
sussStefan Bolder26-Nov-02 22:00 
Questionopen file dialog to select a single DIRECTORY and FOLDERS ONLY? Pin
devvvy26-Nov-02 21:52
devvvy26-Nov-02 21:52 
how can i make my open file dialog to select a single DIRECTORY and FOLDERS ONLY?

and if the directory does not exist, enter the name at the edit box and create it?

here's my code:

int nRetCode = 0;
CString sFilePath;

CFileDialog fdlg(
TRUE,
NULL,
NULL,
OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,
NULL,
NULL
);


//Check to see if the selected item is installation folder. If so, launch the open file dialog.
int index_selected = this->m_lvSettingList.GetNextItem(-1, LVNI_SELECTED);

//Launch open file dialog:
if(index_selected==0)
{
nRetCode = fdlg.DoModal();

this->m_strInstallDir = fdlg.GetPathName();

UpdateData(TRUE);

this->m_lvSettingList.SetItemText(0, 1, sFilePath);

UpdateData(FALSE);

}



norm
AnswerRe: open file dialog to select a single DIRECTORY and FOLDERS ONLY? Pin
Rage26-Nov-02 22:49
professionalRage26-Nov-02 22:49 
GeneralRe: open file dialog to select a single DIRECTORY and FOLDERS ONLY? Pin
devvvy26-Nov-02 22:51
devvvy26-Nov-02 22:51 
GeneralHidden window Pin
Jerome Conus26-Nov-02 21:47
Jerome Conus26-Nov-02 21:47 
GeneralRe: Hidden window Pin
Shamoon26-Nov-02 22:24
Shamoon26-Nov-02 22:24 
GeneralRe: Hidden window Pin
Jerome Conus27-Nov-02 0:18
Jerome Conus27-Nov-02 0:18 
GeneralUpload/Download Threading GUI Pin
Sparticus26-Nov-02 21:02
Sparticus26-Nov-02 21:02 
QuestionMFC Single Doc / Multi-View? Pin
clintsinger26-Nov-02 19:39
clintsinger26-Nov-02 19:39 
AnswerRe: MFC Single Doc / Multi-View? Pin
Iain Clarke, Warrior Programmer27-Nov-02 4:52
Iain Clarke, Warrior Programmer27-Nov-02 4:52 
GeneralRe: MFC Single Doc / Multi-View? Pin
clintsinger27-Nov-02 7:17
clintsinger27-Nov-02 7:17 
GeneralCString and VC++ 7.0 Pin
Shah Shehpori26-Nov-02 18:16
sussShah Shehpori26-Nov-02 18:16 
GeneralRe: CString and VC++ 7.0 Pin
SteveKing26-Nov-02 22:02
SteveKing26-Nov-02 22:02 
GeneralRe: CString and VC++ 7.0 Pin
Steve S26-Nov-02 22:14
Steve S26-Nov-02 22:14 
Generalentry question, thanks Pin
Sean_Yang26-Nov-02 17:37
Sean_Yang26-Nov-02 17:37 
GeneralRe: entry question, thanks Pin
Peak26-Nov-02 21:07
Peak26-Nov-02 21:07 
GeneralRe: entry question, thanks Pin
Sean_Yang27-Nov-02 11:04
Sean_Yang27-Nov-02 11:04 
GeneralRe: entry question, thanks Pin
Alvaro Mendez27-Nov-02 11:34
Alvaro Mendez27-Nov-02 11:34 
GeneralMore help with CListView Pin
Steven M Hunt26-Nov-02 16:28
Steven M Hunt26-Nov-02 16:28 

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.