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

If i derive a new class from CObject what are the basic features my derived wil get ?

4 Answers   Microsoft,


What is thread & process?

15 Answers   Exaband,


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

1 Answers  


what is functioning of DIalodDataXchange ..?

0 Answers  


What view class enables you to use an edit control as a view?

1 Answers  






How to handle RTTI in MFC ?

1 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  


What is document-view architecture ? Give me one real time example for SDI ?

2 Answers  


How can update edit control data of an executing application from other application?

3 Answers   HP,


what is message Testing ?

1 Answers   L&T,


is there any class which is not derived from Cobject

11 Answers   Patni,


What function is used to disable a control at runtime?

7 Answers  


Categories