1)how to Display the File Dialog Box, in MFC ?



1)how to Display the File Dialog Box, in MFC ?..

Answer / 106743013743

Ex:-
void Ctharam::OnBnClickedFileBtn()
{

CFileDialog *dlg = new CFileDialog(TRUE); // TRUE means Open

dlg->DoModal();
}

code by Ctharam

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More MFC Interview Questions

What is subclassing?

2 Answers  


is it possible to display a window .without using windowclass

1 Answers   E Logic,


What is the difference between regular dlls and extended dlls?

2 Answers  


What is the use of CObject::Dump function ?

4 Answers  


Will there be any difference in the image buffer size if it is loaded in from CString to LPTSTR using GetBuffer()? lptstr = string.GetBuffer(0);

2 Answers  






How can i change the color of a dropdowncombobox elements

2 Answers  


what is the use of CWinApp class?

3 Answers   Mphasis,


How do you change the properties for a tree view control that is part of the CTreeView class?

1 Answers  


what are the feauters of CObject

4 Answers   Siemens, Wipro,


What is Thread ?(VC++)What is the difference between Cmutex and Csemaphone?

5 Answers   Atos Origin,


What is the command routing in MFC framework?

3 Answers  


what message is sent to an application when the user presses the primary button?

0 Answers   University Exams,


Categories