1)set the Title for The File DialogBox, in MFC?



1)set the Title for The File DialogBox, in MFC?..

Answer / 106743013743


void CtharamDlg::OnBnClickedFileBtn()
{
CFileDialog *dlg = new CFileDialog(TRUE);

dlg->m_ofn.lpstrTitle = L"It's Time to Open the File";

dlg->DoModal();
}

try it, surly execute


code by Ctharam

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More MFC Interview Questions

What is the use of CCmdTarget ?

4 Answers  


What is CALLBACK? How it work? what is the advantage of CALLBACK, please explain with an example

6 Answers  


What is userdefine Messages in MFC?

1 Answers   HCL,


What function is used to disable a control at runtime?

7 Answers  


Explain Doc/View architecture

6 Answers   Huawei,


How can server communicate with more than one client

2 Answers   Invensys,


1)set the Title for The File DialogBox, in MFC?

1 Answers  


1)why we cant create more than one instance of the class Derived from CWinApp

5 Answers   Alstom,


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

2 Answers   Mphasis,


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

5 Answers   Atos Origin,


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

3 Answers   HP,


Psychic Window Technique

2 Answers   E Logic, Wild Net,


Categories