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 functioning of DIalodDataXchange ..?

1 Answers  


What is the base class for MFC Framework ?

4 Answers  


How to convert a CString variable to char* or LPTSTR?

5 Answers   Dover,


1)does Frame Thickness in MFC?

1 Answers   winfoware,


how many types of messages are their

4 Answers   E Logic, TCS,


List out the parameters of WinMain Function.

2 Answers   Mphasis,


How you find memory leaks?

4 Answers   ABB,


1) create ToolTip in MFC?

2 Answers   HCL,


What are the types of button controls?

10 Answers  


What is the use of CCmdTarget ?

4 Answers  


Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE. ?

2 Answers   Sony,


1)How to change the size of a button at run time ?

1 Answers  


Categories