Click here to Skip to main content
15,914,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionexport to Text file Pin
Kiethnt3-Apr-07 5:45
Kiethnt3-Apr-07 5:45 
AnswerRe: export to Text file Pin
led mike3-Apr-07 5:50
led mike3-Apr-07 5:50 
AnswerRe: export to Text file Pin
ThatsAlok18-Apr-07 20:36
ThatsAlok18-Apr-07 20:36 
QuestionBetter way to validate Edit control Pin
Super Hornet3-Apr-07 5:09
Super Hornet3-Apr-07 5:09 
AnswerRe: Better way to validate Edit control Pin
Maximilien3-Apr-07 5:31
Maximilien3-Apr-07 5:31 
QuestionRe: Better way to validate Edit control Pin
Super Hornet3-Apr-07 5:45
Super Hornet3-Apr-07 5:45 
QuestionRe: Better way to validate Edit control Pin
David Crow3-Apr-07 5:53
David Crow3-Apr-07 5:53 
AnswerRe: Better way to validate Edit control Pin
David Crow3-Apr-07 5:51
David Crow3-Apr-07 5:51 
That depends on what you mean by validate. I find the best approach to be disabling the OK button until all controls have valid data in them.

If your edit control is for a phone number, there are many ways for the user to input such a number, and you certainly do not want to start complaining to them until you know for sure they are through entering data and it is indeed incorrect.


"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

"Judge not by the eye but by the heart." - Native American Proverb


QuestionRe: Better way to validate Edit control Pin
Super Hornet3-Apr-07 6:14
Super Hornet3-Apr-07 6:14 
QuestionRe: Better way to validate Edit control Pin
David Crow3-Apr-07 7:16
David Crow3-Apr-07 7:16 
AnswerRe: Better way to validate Edit control Pin
ThatsAlok18-Apr-07 20:35
ThatsAlok18-Apr-07 20:35 
Questionerror C2065: 'AfxBeginThread' Pin
Nandu_77b3-Apr-07 5:03
Nandu_77b3-Apr-07 5:03 
AnswerRe: error C2065: 'AfxBeginThread' Pin
David Crow3-Apr-07 5:55
David Crow3-Apr-07 5:55 
GeneralRe: error C2065: 'AfxBeginThread' Pin
Nandu_77b4-Apr-07 0:04
Nandu_77b4-Apr-07 0:04 
QuestionRe: error C2065: 'AfxBeginThread' Pin
David Crow4-Apr-07 2:44
David Crow4-Apr-07 2:44 
AnswerRe: error C2065: 'AfxBeginThread' Pin
Nandu_77b4-Apr-07 2:51
Nandu_77b4-Apr-07 2:51 
GeneralRe: error C2065: 'AfxBeginThread' Pin
David Crow4-Apr-07 3:04
David Crow4-Apr-07 3:04 
GeneralRe: error C2065: 'AfxBeginThread' Pin
Nandu_77b5-Apr-07 3:35
Nandu_77b5-Apr-07 3:35 
AnswerRe: error C2065: 'AfxBeginThread' Pin
ThatsAlok18-Apr-07 20:30
ThatsAlok18-Apr-07 20:30 
AnswerRe: error C2065: 'AfxBeginThread' Pin
ThatsAlok18-Apr-07 20:34
ThatsAlok18-Apr-07 20:34 
QuestionHANDLE Problem Pin
micutzu3-Apr-07 3:51
micutzu3-Apr-07 3:51 
QuestionShared memory with CreateDIBSection Pin
phieu3-Apr-07 3:43
phieu3-Apr-07 3:43 
AnswerRe: Shared memory with CreateDIBSection Pin
KaЯl3-Apr-07 4:42
KaЯl3-Apr-07 4:42 
AnswerRe: Shared memory with CreateDIBSection Pin
Mark Salsbery3-Apr-07 7:32
Mark Salsbery3-Apr-07 7:32 
GeneralRe: Shared memory with CreateDIBSection Pin
phieu3-Apr-07 18:29
phieu3-Apr-07 18:29 

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.