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

Does the application have more than one object? If Yes, Briefly explain.

2 Answers   Soltius Infotech,


What is the difference between OnInitialUpdate and OnUpdate?

5 Answers  


What interface must be supported by an ActiveX control?

2 Answers  


What four types of properties are supported by an ActiveX control?

1 Answers  


Differ GetMessage, PostMessage & PeakMessage?

4 Answers   Symphony,






What is a critical section and how is it implemented?

2 Answers  


What are the differences between MFC Exception macros and C++ exception keywords?

2 Answers  


how does conditionally close the Dialog Box ?

2 Answers   Infotech,


What is mfc class hierarchy?

0 Answers  


List out the basic features of MFC.

4 Answers   Mphasis,


What function is used to disable a control at runtime?

7 Answers  


Explain Doc/View architecture

6 Answers   Huawei,


Categories