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...


i have created runtime menu --
( admistrator ->managepackage,manage module).
but now i want to open a dialog when i select manage
package and any other diaolg when selecting manage module
( whole selection is at run time only ) . Please HELP .its
urgently required

Answers were Sorted based on User's Feedback



i have created runtime menu -- ( admistrator ->managepackage,manage module). but now i want t..

Answer / subiksha

Add handler function either in view class or in frame
class. Include that ManagePacakageDialog.h(Dialog which has
to be shown) in that view/frame implementation file.

Go to the handler function for that managepackage menuitem .

CManagePacakageDialog objMPD;
objMPD.DoModal();

Is This Answer Correct ?    1 Yes 0 No

i have created runtime menu -- ( admistrator ->managepackage,manage module). but now i want t..

Answer / shaarang

For opening any dialog you must call its DoModal() function.
so at the menu item item click event message handler
function you must create the object of the dialog class
(which was derived from CDialog)
and then call its DoModal()

like if the class was diag so,
diag d1(IDD_DIALOG1);
d1.DoModal();

Is This Answer Correct ?    0 Yes 0 No

i have created runtime menu -- ( admistrator ->managepackage,manage module). but now i want t..

Answer / unity

its not like taht sharrang , i found the answer that day
only .
While using appendmeny , i pass the id of the dialog box i
need to open . thats it .

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MFC Interview Questions

What is the use of OninitDialog ?

11 Answers   HCL, Nagarro,


What is the difference between ASSERT and VERIFY?

2 Answers  


In VC++ How to transfer between one exe to another exe while running..

5 Answers   Wipro,


what do you mean by psychic window?

2 Answers   Patni,


how many types of classes are ther,what are that

7 Answers   L&T,


Why Array Index starts from Zero

30 Answers   HCL,


1) Enable or disable a Cancel button at run time?

1 Answers   HCL,


How can update edit control data of an executing application from other application?

3 Answers   HP,


what is message loop how mfc does it internally?

4 Answers   Aspire,


What function is used to retrieve the currently selected index in a list box?

2 Answers  


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

5 Answers   Dover,


Explain the flow of SDI application?

8 Answers   Mphasis,


Categories