Click here to Skip to main content
15,896,154 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: device context problem Pin
Hamid_RT5-Feb-08 19:40
Hamid_RT5-Feb-08 19:40 
GeneralRe: device context problem Pin
Iain Clarke, Warrior Programmer5-Feb-08 21:58
Iain Clarke, Warrior Programmer5-Feb-08 21:58 
GeneralRe: device context problem Pin
Rajkumar R5-Feb-08 22:16
Rajkumar R5-Feb-08 22:16 
Generalstl trickery [modified] Pin
User 5838525-Feb-08 16:49
User 5838525-Feb-08 16:49 
GeneralA child window with a title bar higlighted. Pin
junjuanillo5-Feb-08 16:14
junjuanillo5-Feb-08 16:14 
GeneralRe: A child window with a title bar higlighted. Pin
Mark Salsbery6-Feb-08 6:26
Mark Salsbery6-Feb-08 6:26 
GeneralRe: A child window with a title bar higlighted. Pin
junjuanillo6-Feb-08 15:10
junjuanillo6-Feb-08 15:10 
GeneralDetermining whether input is string or integer Pin
Klazen5-Feb-08 10:56
Klazen5-Feb-08 10:56 
I have a program that allows the user to input variables into a program, perform some math on the variables, and then spit out the answer. However, if the user enters a string, rather than a number, the program skips the rest of the input sequence and goes straight to the math. I'm trying to avoid this using a try...catch statement. However, I cannot run any code to check the error, because as soon as the user presses enter, the rest of the input code is skipped, without allowing me to run any code to test it. Is there any way around this whithout simply telling the user to be careful and only enter numbers?
GeneralRe: Determining whether input is string or integer Pin
led mike5-Feb-08 12:23
led mike5-Feb-08 12:23 
GeneralRe: Determining whether input is string or integer Pin
Klazen5-Feb-08 13:36
Klazen5-Feb-08 13:36 
GeneralRe: Determining whether input is string or integer Pin
led mike6-Feb-08 5:27
led mike6-Feb-08 5:27 
GeneralRe: Determining whether input is string or integer Pin
David Crow5-Feb-08 13:47
David Crow5-Feb-08 13:47 
GeneralRe: Determining whether input is string or integer Pin
Klazen5-Feb-08 13:52
Klazen5-Feb-08 13:52 
QuestionRe: Determining whether input is string or integer Pin
David Crow5-Feb-08 17:06
David Crow5-Feb-08 17:06 
GeneralRe: Determining whether input is string or integer Pin
cp98765-Feb-08 16:10
cp98765-Feb-08 16:10 
GeneralRe: Determining whether input is string or integer Pin
User 5838525-Feb-08 17:08
User 5838525-Feb-08 17:08 
GeneralRe: Determining whether input is string or integer Pin
Gregory Bryant5-Feb-08 18:20
Gregory Bryant5-Feb-08 18:20 
GeneralRe: Determining whether input is string or integer Pin
Cedric Moonen5-Feb-08 20:59
Cedric Moonen5-Feb-08 20:59 
GeneralRe: Determining whether input is string or integer Pin
Christian Graus7-Mar-08 23:26
protectorChristian Graus7-Mar-08 23:26 
GeneralA Problem with Doc-View SDI App Pin
Member 4431375-Feb-08 6:34
Member 4431375-Feb-08 6:34 
GeneralCTreeCtrl lables help please Pin
sarat5-Feb-08 3:31
sarat5-Feb-08 3:31 
NewsRe: CTreeCtrl lables help please Pin
Iain Clarke, Warrior Programmer5-Feb-08 6:19
Iain Clarke, Warrior Programmer5-Feb-08 6:19 
GeneralRe: CTreeCtrl lables help please Pin
Cedric Moonen5-Feb-08 7:13
Cedric Moonen5-Feb-08 7:13 
GeneralRegarding CToolBar & CToolBarCtrl Pin
msr_codeproject5-Feb-08 2:25
msr_codeproject5-Feb-08 2:25 
GeneralRe: Regarding CToolBar & CToolBarCtrl Pin
Iain Clarke, Warrior Programmer5-Feb-08 2:34
Iain Clarke, Warrior Programmer5-Feb-08 2: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.