Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how does conditionally close the Dialog Box ?

Answers were Sorted based on User's Feedback



how does conditionally close the Dialog Box ?..

Answer / 106743013743

Hi,

void Ctharam::OnClose()
{
OnOK();
CDialog::OnClose();

}


code by Ctharam

Is This Answer Correct ?    4 Yes 1 No

how does conditionally close the Dialog Box ?..

Answer / gg

need to put condition inside onclose() it satisfy call CDialog::OnClose,other wise return;

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More MFC Interview Questions

1)How to change the size of a button at run time ?

1 Answers  


Psychic Window Technique

2 Answers   E Logic, Wild Net,


What is the use of OninitDialog ?

11 Answers   HCL, Nagarro,


WHAT IS DIFFERENT BETWEN RELEASE MODE & DEBUGGING MODE

4 Answers   Google, Microsoft, TCS,


How to convert a CString variable to char* or LPTSTR?

5 Answers   Dover,


if no message handler is available for a message then will deal with the message ? does window proving any default mechanism?

2 Answers   Patni,


What is subclassing?

2 Answers  


How do I create a dialog box in mfc?

0 Answers  


How do you change the properties for a tree view control that is part of the CTreeView class?

1 Answers  


Explain StretchBlt and BitBlt

1 Answers  


What is the difference between GetMessage and PeekMessage ?

3 Answers  


How to setup a timer?

3 Answers   IBM,


Categories