Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to convert char* to char Pin
prasad_som19-Sep-06 2:14
prasad_som19-Sep-06 2:14 
GeneralRe: How to convert char* to char Pin
vc++_fragrance19-Sep-06 3:10
vc++_fragrance19-Sep-06 3:10 
GeneralRe: How to convert char* to char Pin
David Crow19-Sep-06 3:13
David Crow19-Sep-06 3:13 
GeneralRe: How to convert char* to char Pin
KarstenK19-Sep-06 2:32
mveKarstenK19-Sep-06 2:32 
AnswerRe: How to convert char* to char Pin
_AnsHUMAN_ 19-Sep-06 0:48
_AnsHUMAN_ 19-Sep-06 0:48 
QuestionValidation in property pages Pin
Mohammad A Gdeisat18-Sep-06 23:23
Mohammad A Gdeisat18-Sep-06 23:23 
AnswerRe: Validation in property pages Pin
prasad_som18-Sep-06 23:28
prasad_som18-Sep-06 23:28 
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 

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.