Click here to Skip to main content
15,913,587 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting input in an array... Pin
Ravi Bhavnani23-Apr-05 7:43
professionalRavi Bhavnani23-Apr-05 7:43 
GeneralRe: Getting input in an array... Pin
Member 190113623-Apr-05 15:24
Member 190113623-Apr-05 15:24 
Generalcin.get is creating problem Pin
Aqueel25-Apr-05 1:55
Aqueel25-Apr-05 1:55 
GeneralRe: cin.get is creating problem Pin
Member 190113625-Apr-05 2:06
Member 190113625-Apr-05 2:06 
GeneralThanks Pin
Aqueel25-Apr-05 3:50
Aqueel25-Apr-05 3:50 
GeneralWM_KILLFOCUS Pin
PeteMan_R23-Apr-05 6:55
PeteMan_R23-Apr-05 6:55 
GeneralRe: WM_KILLFOCUS Pin
Peter Ritchie23-Apr-05 8:36
Peter Ritchie23-Apr-05 8:36 
GeneralRe: WM_KILLFOCUS Pin
PJ Arends23-Apr-05 14:55
professionalPJ Arends23-Apr-05 14:55 
Doing validating on WM_KILLFOCUS is a lousy idea. You are much better off doing the validating "on the fly" while the user is entering the data. If the data is invalid give the user a visual feed back such as changing the background colour of the control. Also disable the OK button if any of the controls on the form are in an invalid state.

There is no worse experience for the user than not being able to leave a control that has invalid data so he can do something else and then come back to finish off later.



"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" mYkel - 21 Jun '04

Within you lies the power for good - Use it!
Honoured as one of The Most Helpful Members of 2004

GeneralRe: WM_KILLFOCUS Pin
PeteMan_R23-Apr-05 15:18
PeteMan_R23-Apr-05 15:18 
GeneralRe: WM_KILLFOCUS Pin
Ravi Bhavnani23-Apr-05 18:24
professionalRavi Bhavnani23-Apr-05 18:24 
GeneralRe: WM_KILLFOCUS Pin
Anonymous25-Apr-05 18:07
Anonymous25-Apr-05 18:07 
GeneralPlease help me! Pin
dSolariuM23-Apr-05 4:27
dSolariuM23-Apr-05 4:27 
GeneralRe: Please help me! Pin
Ravi Bhavnani23-Apr-05 7:46
professionalRavi Bhavnani23-Apr-05 7:46 
GeneralRe: Please help me! Pin
dSolariuM24-Apr-05 5:01
dSolariuM24-Apr-05 5:01 
GeneralRe: Please help me! Pin
Ravi Bhavnani24-Apr-05 5:51
professionalRavi Bhavnani24-Apr-05 5:51 
Generaltext over image Pin
Lampros Giampouras23-Apr-05 4:06
Lampros Giampouras23-Apr-05 4:06 
Generalvirtual static Pin
Konrad Windszus23-Apr-05 3:38
Konrad Windszus23-Apr-05 3:38 
GeneralRe: virtual static Pin
Maximilien23-Apr-05 4:19
Maximilien23-Apr-05 4:19 
Generali want help in game programing Pin
medlteam23-Apr-05 3:37
medlteam23-Apr-05 3:37 
GeneralRe: i want help in game programing Pin
namaskaaram23-Apr-05 4:26
namaskaaram23-Apr-05 4:26 
Generaldisable Message Reflection of OLE Controls Pin
Anonymous23-Apr-05 2:59
Anonymous23-Apr-05 2:59 
Generalborland c++ bulider book Pin
aloktambi23-Apr-05 0:44
aloktambi23-Apr-05 0:44 
GeneralShow an Editbox Pin
fan wei fang23-Apr-05 0:09
fan wei fang23-Apr-05 0:09 
GeneralRe: Show an Editbox Pin
ThatsAlok23-Apr-05 3:03
ThatsAlok23-Apr-05 3:03 
GeneralRe: Show an Editbox Pin
fan wei fang23-Apr-05 21:34
fan wei fang23-Apr-05 21:34 

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.