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 |
Tell us something about MFC?
1)How to change a text of a button in runtime?
How to setup a timer?
what is the meaning of constant FILE EXCEEDS LENGTH LIMIT while loading from ps file to vsam in the jcl?
What is the use of message map ?
Difference between Cclint DC & Cpaint Dc
is there any class which is not derived from Cobject
Why not virtual functions to handle messages?
Difference between Debug and Release versions?
What is the base class for most MFC classes?
How we call a dialog in another dialog?
What types of threads are supported by MFC framework?