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 socket?

3 Answers  


What is model and modeless dialog box ? Give some examples?

2 Answers   Mphasis,


How can server communicate with more than one client

2 Answers   Invensys,


how to give colour for dialog button or static buuto?any one explain full code ?pls pls

3 Answers  


Whats is DDX & DDV in MFC?

1 Answers   HCL,






Explain Doc/View architecture

6 Answers   Huawei,


1)dynamic creation of a Button ?

2 Answers   TCS,


How can we create thread in MFC framework?

3 Answers  


What is the difference between the ASSERT and VERIFY macros?

4 Answers  


Difference between Debug and Release versions?

4 Answers  


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

5 Answers   Atos Origin,


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

0 Answers   University Exams,


Categories