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 |
What is the use of CCmdTarget ?
How to find the mouse entering an image?..while entering need to display next image...
What is a message map, and what is the advantage of a message map over virtual functions?
Why not virtual functions to handle messages?
What is CArchive class dowes?
Explain StretchBlt and BitBlt
What is the base class for MFC
Explain the flow of SDI application?
What is the use of OninitDialog ?
1)How to change a text of a button in runtime?
What is thread & process?
Hi All, I have created one MFC Dialog Based application.now if i am running the application its working fine,instead of closing he application i minimized the application,if i run the application again,i am getting the Dialog. I want to prevent the calling of application multiple times. please give me the code and let me know in which method i need to make changes. Praveer