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 difference between the ASSERT and VERIFY macros?
what is the difference between SDI and MDI
15 Answers CMC, HCL, Siemens,
1)dynamic creation of a Button ?
What is stack size in win32 program?
Differ GetMessage, PostMessage & PeakMessage?
Psychic Window Technique
What is model and modeless dialog box ? Give some examples?
How can update edit control data of an executing application from other application?
Difference between Cclint DC & Cpaint Dc
1)How to change a text of a button as Dynamically?
Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A. Explain how a pointer to function can be declared in C++? B. List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header ("Include") Files.
How to handle dynamic menus in mfc? What happens when client calls cocreateinstance?