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

C / C++ / MFC

 
QuestionWierd memory error [modified] Pin
CoffeeAddict197-Aug-06 10:54
CoffeeAddict197-Aug-06 10:54 
AnswerRe: Wierd memory error Pin
led mike7-Aug-06 11:17
led mike7-Aug-06 11:17 
QuestionPage fault count in a simple dialog box Pin
Varchas R S7-Aug-06 10:05
Varchas R S7-Aug-06 10:05 
AnswerRe: Page fault count in a simple dialog box Pin
Zac Howland7-Aug-06 10:26
Zac Howland7-Aug-06 10:26 
GeneralRe: Page fault count in a simple dialog box Pin
Varchas R S7-Aug-06 10:32
Varchas R S7-Aug-06 10:32 
QuestionRe: Page fault count in a simple dialog box Pin
David Crow7-Aug-06 11:05
David Crow7-Aug-06 11:05 
AnswerRe: Page fault count in a simple dialog box Pin
Varchas R S7-Aug-06 19:47
Varchas R S7-Aug-06 19:47 
GeneralRe: Page fault count in a simple dialog box Pin
David Crow8-Aug-06 2:44
David Crow8-Aug-06 2:44 
QuestionVB6 Boolean to bool Pin
Andre xxxxxxx7-Aug-06 8:46
Andre xxxxxxx7-Aug-06 8:46 
QuestionRe: VB6 Boolean to bool Pin
David Crow7-Aug-06 10:00
David Crow7-Aug-06 10:00 
AnswerRe: VB6 Boolean to bool Pin
Andre xxxxxxx7-Aug-06 10:06
Andre xxxxxxx7-Aug-06 10:06 
QuestionREAD DATAS FROM MS access Table and display it MFC list control Pin
Arul Joseph7-Aug-06 8:06
Arul Joseph7-Aug-06 8:06 
AnswerRe: READ DATAS FROM MS access Table and display it MFC list control Pin
David Crow7-Aug-06 8:12
David Crow7-Aug-06 8:12 
GeneralRe: READ DATAS FROM MS access Table and display it MFC list control Pin
Arul Joseph7-Aug-06 8:19
Arul Joseph7-Aug-06 8:19 
QuestionRe: READ DATAS FROM MS access Table and display it MFC list control Pin
David Crow7-Aug-06 8:35
David Crow7-Aug-06 8:35 
QuestionCrystal Reports SDK??????? Pin
javad_20057-Aug-06 7:56
javad_20057-Aug-06 7:56 
QuestionDialog Controls Palette Pin
Reagan Conservative7-Aug-06 6:50
Reagan Conservative7-Aug-06 6:50 
AnswerRe: Dialog Controls Palette Pin
David Crow7-Aug-06 8:40
David Crow7-Aug-06 8:40 
AnswerRe: Dialog Controls Palette Pin
anu_887-Aug-06 18:32
anu_887-Aug-06 18:32 
Questionsetup via CD/web Pin
Tara147-Aug-06 6:45
Tara147-Aug-06 6:45 
AnswerRe: setup via CD/web Pin
Varchas R S7-Aug-06 10:11
Varchas R S7-Aug-06 10:11 
GeneralRe: setup via CD/web Pin
Tara147-Aug-06 20:48
Tara147-Aug-06 20:48 
QuestionHow do i get the full path from a into a exe loaded/injected dll(module)? Pin
kefir0077-Aug-06 6:44
kefir0077-Aug-06 6:44 
Questionflushing extra key presses Pin
Biboc7-Aug-06 5:53
Biboc7-Aug-06 5:53 
I'm coding a program which gives a stimuli and wait for the user's answer before giving another one. The user answer by pressing one of 2 keys, and at the moment the program seems to be storing extra key pressed for the next stimulis. For example, if the user is asked to answer a question but presses twice the key, the second hit is used to answer the next question. Could anyone point me to a way of flushing all these keypresses before asking the user for the real one? Thanks in advance,

I'm using a windows form and the KeyPress event handler (which I'm really not yet comfortable with) and visual c++ studio express


//Code in the form1 constructor :
this->KeyPress += gcnew KeyPressEventHandler(this, &Form1::Form1_KeyPress);
Form1::KeyPreview = true;

//Code for the function
void Form1_KeyPress(Object^ sender, KeyPressEventArgs^ e)
{
// Here I handle the key
}

Simon
Questionconverting hex to binary string Pin
flippydeflippydebop7-Aug-06 5:21
flippydeflippydebop7-Aug-06 5:21 

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.