Click here to Skip to main content
15,917,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Set tool tip text on tree control item Pin
thowra27-Apr-04 22:01
thowra27-Apr-04 22:01 
GeneralSimple divison has GONE MAD! Pin
Selevercin27-Apr-04 12:09
Selevercin27-Apr-04 12:09 
GeneralRe: Simple divison has GONE MAD! Pin
Phil Martin27-Apr-04 13:42
professionalPhil Martin27-Apr-04 13:42 
GeneralRe: Simple divison has GONE MAD! Pin
Selevercin27-Apr-04 14:27
Selevercin27-Apr-04 14:27 
GeneralRe: Simple divison has GONE MAD! Pin
Tim Smith27-Apr-04 14:43
Tim Smith27-Apr-04 14:43 
GeneralRe: Simple divison has GONE MAD! Pin
Paul Ranson28-Apr-04 0:54
Paul Ranson28-Apr-04 0:54 
Generaltesting for <esc> key Pin
RalfPeter27-Apr-04 11:55
RalfPeter27-Apr-04 11:55 
GeneralRe: testing for <esc> key Pin
Selevercin27-Apr-04 12:14
Selevercin27-Apr-04 12:14 
Well, if it's a console app (not sure for others... may or may not work) you can do something like the following:

if (kbhit())
{
if (getch() == 26)
{
// escape key was pressed!
}
}

And I believe you have to include conio.h. Also, I'm not positive 26 is the escape key... but my gut says it is. And if you are costantly looping through that code, you will know when the escape key was pressed.

Good luck.

If you have a problem with my spelling, just remember that's not my fault. I (as well as everyone else who learned to spell after 1976) blame it on Robert A. Kolpek for U.S. Patent 4,136,395.
GeneralRe: testing for <esc> key Pin
Christian Graus27-Apr-04 12:21
protectorChristian Graus27-Apr-04 12:21 
GeneralRe: testing for <esc> key Pin
Christian Graus27-Apr-04 12:18
protectorChristian Graus27-Apr-04 12:18 
GeneralRe: testing for <esc> key Pin
jmkhael28-Apr-04 0:27
jmkhael28-Apr-04 0:27 
GeneralRe: testing for <esc> key Pin
Anonymous28-Apr-04 3:25
Anonymous28-Apr-04 3:25 
GeneralMSDN 2003, to Visual C++ 6 Pin
Dassatar27-Apr-04 11:21
Dassatar27-Apr-04 11:21 
GeneralRe: MSDN 2003, to Visual C++ 6 Pin
Garth J Lancaster27-Apr-04 11:38
professionalGarth J Lancaster27-Apr-04 11:38 
GeneralRe: MSDN 2003, to Visual C++ 6 Pin
Roger Wright27-Apr-04 12:49
professionalRoger Wright27-Apr-04 12:49 
GeneralRe: MSDN 2003, to Visual C++ 6 Pin
Prakash Nadar27-Apr-04 18:23
Prakash Nadar27-Apr-04 18:23 
QuestionSetDlgItemText from different thread ? Pin
rmnowick27-Apr-04 11:01
rmnowick27-Apr-04 11:01 
AnswerRe: SetDlgItemText from different thread ? Pin
rmnowick27-Apr-04 11:56
rmnowick27-Apr-04 11:56 
GeneralRe: SetDlgItemText from different thread ? Pin
rmnowick27-Apr-04 12:42
rmnowick27-Apr-04 12:42 
QuestionHow to get Table Names while using ADO Pin
Chauhan Chirag27-Apr-04 10:30
Chauhan Chirag27-Apr-04 10:30 
AnswerRe: How to get Table Names while using ADO Pin
John M. Drescher27-Apr-04 10:49
John M. Drescher27-Apr-04 10:49 
GeneralRe: How to get Table Names while using ADO Pin
Chauhan Chirag27-Apr-04 10:57
Chauhan Chirag27-Apr-04 10:57 
GeneralRe: How to get Table Names while using ADO Pin
John M. Drescher27-Apr-04 16:36
John M. Drescher27-Apr-04 16:36 
GeneralAccessing public variables Pin
Krugger40427-Apr-04 10:25
Krugger40427-Apr-04 10:25 
GeneralRe: Accessing public variables Pin
Joaquín M López Muñoz27-Apr-04 10:46
Joaquín M López Muñoz27-Apr-04 10:46 

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.