Click here to Skip to main content
15,895,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Objects and threads Pin
led mike18-May-06 11:18
led mike18-May-06 11:18 
AnswerRe: Objects and threads Pin
Peter Weyzen18-May-06 12:20
Peter Weyzen18-May-06 12:20 
Questionseperating items Pin
Sam 200618-May-06 10:55
Sam 200618-May-06 10:55 
QuestionRe: seperating items Pin
David Crow18-May-06 11:01
David Crow18-May-06 11:01 
AnswerRe: seperating items Pin
Sam 200618-May-06 12:45
Sam 200618-May-06 12:45 
AnswerRe: seperating items Pin
Peter Weyzen18-May-06 12:21
Peter Weyzen18-May-06 12:21 
AnswerRe: seperating items Pin
ThatsAlok18-May-06 19:39
ThatsAlok18-May-06 19:39 
Questionhow to display text in a combo box edit control Pin
elephantstar18-May-06 10:20
elephantstar18-May-06 10:20 
I have a dropdown combo box that needs to be able to accept new entries not listed in the combo box via the edit control. If I create the member variable as a value instead of control, I'm able to save the selection or text input, but how do I display it in the edit control when I reopen the window. I tried the following:

private:
CString test_value;

test_value = m_test; //Saves the selection

//m_test = test_value; //tried this first
GetDlgItem(IDC_TEST)->SetWindowText(m_test); //this didn't work either
UpdateData(FALSE);

Please help! Thanks.
AnswerRe: how to display text in a combo box edit control Pin
Chris Losinger18-May-06 10:31
professionalChris Losinger18-May-06 10:31 
GeneralRe: how to display text in a combo box edit control Pin
elephantstar18-May-06 11:02
elephantstar18-May-06 11:02 
AnswerRe: how to display text in a combo box edit control Pin
Andy Rama19-May-06 3:04
Andy Rama19-May-06 3:04 
GeneralRe: how to display text in a combo box edit control Pin
elephantstar23-May-06 11:45
elephantstar23-May-06 11:45 
QuestionMemory leak issue Pin
Chris Corben18-May-06 8:55
Chris Corben18-May-06 8:55 
AnswerRe: Memory leak issue Pin
Chris Meech18-May-06 9:11
Chris Meech18-May-06 9:11 
GeneralRe: Memory leak issue Pin
Chris Corben18-May-06 12:08
Chris Corben18-May-06 12:08 
AnswerRe: Memory leak issue Pin
knoxplusplus23-May-06 8:03
knoxplusplus23-May-06 8:03 
QuestionDocument Types Pin
BlitzPackage18-May-06 7:46
BlitzPackage18-May-06 7:46 
AnswerRe: Document Types Pin
David Crow18-May-06 9:18
David Crow18-May-06 9:18 
GeneralRe: Document Types Pin
BlitzPackage18-May-06 10:07
BlitzPackage18-May-06 10:07 
Questionstdafx Pin
big_denny_20018-May-06 6:59
big_denny_20018-May-06 6:59 
AnswerRe: stdafx Pin
Michael Dunn18-May-06 7:36
sitebuilderMichael Dunn18-May-06 7:36 
AnswerRe: stdafx Pin
knoxplusplus23-May-06 8:05
knoxplusplus23-May-06 8:05 
QuestionMMC-Adding an Item to the context menu of the Results Pane Pin
Stevemc7518-May-06 5:46
Stevemc7518-May-06 5:46 
QuestionCRecordset Timing Problem Pin
e-DJ18-May-06 5:16
e-DJ18-May-06 5:16 
QuestionCRecordset and CTime Problem Pin
e-DJ18-May-06 5:09
e-DJ18-May-06 5:09 

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.