MFC :Property Sheet
-
I have an edit box on property page. I want to fetch its value in my formview.cpp . Then how is that done ? Can Some one help me out. Thanx in advance. Drushti
Miss Nazar, if you know the ID of the EditBox you can use following api to retieve the value
1.GetDlgItemText 2.GetDlgItemInt
or I think you are using MFC , just add the variable to the EditBox using MFC ClassWizard>>member variable, and When ever you need the value just CallUpdateData(TRUE);
and you variable will fill with value present in Editbox ----------------------------- "I Think this Will Help" ----------------------------- Alok Gupta visit me at http://www.thisisalok.tk -
Miss Nazar, if you know the ID of the EditBox you can use following api to retieve the value
1.GetDlgItemText 2.GetDlgItemInt
or I think you are using MFC , just add the variable to the EditBox using MFC ClassWizard>>member variable, and When ever you need the value just CallUpdateData(TRUE);
and you variable will fill with value present in Editbox ----------------------------- "I Think this Will Help" ----------------------------- Alok Gupta visit me at http://www.thisisalok.tk