Click here to Skip to main content
15,905,008 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDoes Array always need to allocate memory? Pin
Ming Luo6-Feb-06 11:56
Ming Luo6-Feb-06 11:56 
AnswerRe: Does Array always need to allocate memory? Pin
Stephen Hewitt6-Feb-06 12:14
Stephen Hewitt6-Feb-06 12:14 
GeneralRe: Does Array always need to allocate memory? Pin
Ming Luo6-Feb-06 12:23
Ming Luo6-Feb-06 12:23 
QuestionCString weirdness Pin
Daniel Odom6-Feb-06 11:28
Daniel Odom6-Feb-06 11:28 
AnswerRe: CString weirdness Pin
Graham Bradshaw6-Feb-06 13:23
Graham Bradshaw6-Feb-06 13:23 
AnswerRe: CString weirdness Pin
RChin6-Feb-06 13:51
RChin6-Feb-06 13:51 
AnswerRe: CString weirdness Pin
Maximilien6-Feb-06 15:01
Maximilien6-Feb-06 15:01 
QuestionNeed help with Text Edit Box control Pin
the Jimmy6-Feb-06 10:58
the Jimmy6-Feb-06 10:58 
hi,
I have simple WinApp program. it has a dialog nemu. I add a text edit box in the dialog menu. I also use the ClassWizard to associate a event EN_CHANGE to this function:

void CSATAGPSTeleTrackDlg::OnChangeEdit2()
{
// TODO: If this is a RICHEDIT control, the control will not
// send this notification unless you override the CDialog::OnInitDialog()
// function and call CRichEditCtrl().SetEventMask()
// with the ENM_CHANGE flag ORed into the mask.

// TODO: Add your control notification handler code here

}


But each time, when I place a cursor into the text edit box and hit "ENTER" key, the program is exit or terminated on it own....but i don't want it happens like that. I want it to indicate that I have just entered my input, and take the input from the box, and process it and goes on...
I am sure I miss something to handle the text edit box correctly, can anyone help or point me to the right direction?

thank you
Jim


Jim
AnswerRe: Need help with Text Edit Box control Pin
Gavin Taylor6-Feb-06 13:17
professionalGavin Taylor6-Feb-06 13:17 
GeneralRe: Need help with Text Edit Box control Pin
Wim Engberts7-Feb-06 11:49
Wim Engberts7-Feb-06 11:49 
GeneralRe: Need help with Text Edit Box control Pin
the Jimmy7-Feb-06 17:52
the Jimmy7-Feb-06 17:52 
QuestionBest Book for Visual C++ .net? Pin
Mutty6-Feb-06 9:22
Mutty6-Feb-06 9:22 
AnswerRe: Best Book for Visual C++ .net? Pin
Christian Graus6-Feb-06 11:43
protectorChristian Graus6-Feb-06 11:43 
AnswerRe: Best Book for Visual C++ .net? Pin
mark gooding7-Feb-06 4:34
mark gooding7-Feb-06 4:34 
QuestionCompile unicode strings into VC6 project, get pointer to strings in stringtable Pin
Andre xxxxxxx6-Feb-06 8:58
Andre xxxxxxx6-Feb-06 8:58 
AnswerRe: Compile unicode strings into VC6 project, get pointer to strings in stringtable Pin
PJ Arends6-Feb-06 11:07
professionalPJ Arends6-Feb-06 11:07 
GeneralRe: Compile unicode strings into VC6 project, get pointer to strings in stringtable Pin
Andre xxxxxxx6-Feb-06 11:41
Andre xxxxxxx6-Feb-06 11:41 
QuestionReading MiniDumps Pin
Richard Andrew x646-Feb-06 8:58
professionalRichard Andrew x646-Feb-06 8:58 
Questionmultithreading problem with boost Pin
Keith Vitali6-Feb-06 8:34
Keith Vitali6-Feb-06 8:34 
AnswerRe: multithreading problem with boost Pin
Stephen Hewitt6-Feb-06 12:39
Stephen Hewitt6-Feb-06 12:39 
GeneralRe: multithreading problem with boost Pin
Keith Vitali6-Feb-06 19:25
Keith Vitali6-Feb-06 19:25 
GeneralRe: multithreading problem with boost Pin
Stephen Hewitt6-Feb-06 19:29
Stephen Hewitt6-Feb-06 19:29 
QuestionVector question Pin
RobJones6-Feb-06 7:40
RobJones6-Feb-06 7:40 
AnswerRe: Vector question Pin
Maximilien6-Feb-06 7:52
Maximilien6-Feb-06 7:52 
AnswerRe: Vector question Pin
BlackDice6-Feb-06 9:00
BlackDice6-Feb-06 9:00 

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.