how does conditionally close the Dialog Box ?
Answers were Sorted based on User's Feedback
Answer / 106743013743
Hi,
void Ctharam::OnClose()
{
OnOK();
CDialog::OnClose();
}
code by Ctharam
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / gg
need to put condition inside onclose() it satisfy call CDialog::OnClose,other wise return;
| Is This Answer Correct ? | 0 Yes | 1 No |
What is the initial function to be called in MFC and what it will do
How can we create thread in MFC framework?
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
How to update all the views whenver document got updated ?
Explain Doc/View architecture
What four types of properties are supported by an ActiveX control?
Name the Synchronization objects?
what is functioning of DIalodDataXchange ..?
1)How to create ToolTip in MFC?
How do you change the properties for a tree view control that is part of the CTreeView class?
What is serialization ?which function is responsible for serializing data ?
What is the difference between the Encapsulation and Abstraction
25 Answers HCL, Invensys, TCS, Wipro,