Click here to Skip to main content
15,884,986 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMFC (database) please help ! [modified] Pin
Bravoone_200618-Sep-06 23:05
Bravoone_200618-Sep-06 23:05 
AnswerRe: MFC (database) please help ! Pin
Christian Graus19-Sep-06 1:19
protectorChristian Graus19-Sep-06 1:19 
QuestionRe: MFC (database) please help ! Pin
Bravoone_200619-Sep-06 2:29
Bravoone_200619-Sep-06 2:29 
AnswerRe: MFC (database) please help ! Pin
David Crow19-Sep-06 3:21
David Crow19-Sep-06 3:21 
AnswerRe: MFC (database) please help ! Pin
Christian Graus19-Sep-06 10:26
protectorChristian Graus19-Sep-06 10:26 
AnswerRe: MFC (database) please help ! Pin
Bravoone_200619-Sep-06 19:54
Bravoone_200619-Sep-06 19:54 
GeneralRe: MFC (database) please help ! Pin
Christian Graus19-Sep-06 20:05
protectorChristian Graus19-Sep-06 20:05 
QuestionHow to get the data from edit control Pin
vc++_fragrance18-Sep-06 22:53
vc++_fragrance18-Sep-06 22:53 
Hi,

I have used the following code to display the text in edit box and a combobox respectively.
How can I get the data from these controls.
CEdit *Display;
Display = reinterpret_cast<cedit *="">(GetDlgItem(IDC_EDITCAMPAIGNID));
Display->SetWindowText("tejaswini");

CComboBox *Combo;
Combo = reinterpret_cast<ccombobox *="">(GetDlgItem(IDC_COMBOFORMAT));
Combo->SetWindowText("shilpa");
Combo->AddString("Radhika");
Combo->AddString("Lakshmi");

But when i executed the program I am getting only "Lakshmi" in the dropdown list.How can I get "Radhika" also in the drop down list.


Can u plz help me.
Thanks in advance.
AnswerRe: How to get the data from edit control Pin
Bravoone_200618-Sep-06 23:09
Bravoone_200618-Sep-06 23:09 
GeneralRe: How to get the data from edit control Pin
_AnsHUMAN_ 18-Sep-06 23:10
_AnsHUMAN_ 18-Sep-06 23:10 
GeneralRe: How to get the data from edit control Pin
vc++_fragrance18-Sep-06 23:16
vc++_fragrance18-Sep-06 23:16 
GeneralRe: How to get the data from edit control Pin
_AnsHUMAN_ 18-Sep-06 23:24
_AnsHUMAN_ 18-Sep-06 23:24 
GeneralRe: How to get the data from edit control Pin
vc++_fragrance18-Sep-06 23:48
vc++_fragrance18-Sep-06 23:48 
GeneralRe: How to get the data from edit control Pin
Hamid_RT20-Sep-06 6:52
Hamid_RT20-Sep-06 6:52 
GeneralRe: How to get the data from edit control Pin
David Crow19-Sep-06 3:26
David Crow19-Sep-06 3:26 
AnswerRe: How to get the data from edit control Pin
prasad_som18-Sep-06 23:21
prasad_som18-Sep-06 23:21 
GeneralRe: How to get the data from edit control Pin
vc++_fragrance18-Sep-06 23:31
vc++_fragrance18-Sep-06 23:31 
Questionadding hyperlink to Dialog Pin
Kiran Pinjala18-Sep-06 22:35
Kiran Pinjala18-Sep-06 22:35 
AnswerRe: adding hyperlink to Dialog Pin
Nibu babu thomas18-Sep-06 22:46
Nibu babu thomas18-Sep-06 22:46 
AnswerRe: adding hyperlink to Dialog Pin
toxcct18-Sep-06 22:47
toxcct18-Sep-06 22:47 
AnswerRe: adding hyperlink to Dialog Pin
anu_8818-Sep-06 22:52
anu_8818-Sep-06 22:52 
AnswerRe: adding hyperlink to Dialog Pin
Hamid_RT19-Sep-06 0:37
Hamid_RT19-Sep-06 0:37 
QuestionSDL1014 : recursively defined types are not supported Pin
impeham18-Sep-06 22:22
impeham18-Sep-06 22:22 
QuestionLoading a Bitmap Dynamically in CStatic Pin
Sivaraman Dhamodaran18-Sep-06 22:09
Sivaraman Dhamodaran18-Sep-06 22:09 
AnswerRe: Loading a Bitmap Dynamically in CStatic Pin
khan++18-Sep-06 22:19
khan++18-Sep-06 22:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.