Click here to Skip to main content
14,660,264 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
QuestionDialog Controls Palette Pin
Reagan Conservative7-Aug-06 6:50
MemberReagan Conservative7-Aug-06 6:50 
AnswerRe: Dialog Controls Palette Pin
David Crow7-Aug-06 8:40
MemberDavid Crow7-Aug-06 8:40 
AnswerRe: Dialog Controls Palette Pin
anu_887-Aug-06 18:32
Memberanu_887-Aug-06 18:32 
Questionsetup via CD/web Pin
Tara147-Aug-06 6:45
MemberTara147-Aug-06 6:45 
AnswerRe: setup via CD/web Pin
Varchas R S7-Aug-06 10:11
MemberVarchas R S7-Aug-06 10:11 
GeneralRe: setup via CD/web Pin
Tara147-Aug-06 20:48
MemberTara147-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
Memberkefir0077-Aug-06 6:44 
Questionflushing extra key presses Pin
Biboc7-Aug-06 5:53
MemberBiboc7-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
Memberflippydeflippydebop7-Aug-06 5:21 
AnswerRe: converting hex to binary string [modified] Pin
flippydeflippydebop7-Aug-06 5:25
Memberflippydeflippydebop7-Aug-06 5:25 
QuestionNT Service - working directory Pin
yoti117-Aug-06 5:20
Memberyoti117-Aug-06 5:20 
AnswerRe: NT Service - working directory Pin
Michael Dunn7-Aug-06 7:26
sitebuilderMichael Dunn7-Aug-06 7:26 
AnswerRe: NT Service - working directory Pin
David Crow7-Aug-06 8:15
MemberDavid Crow7-Aug-06 8:15 
AnswerRe: NT Service - working directory Pin
Vipin Aravind7-Aug-06 8:59
MemberVipin Aravind7-Aug-06 8:59 
AnswerRe: NT Service - working directory Pin
Hamid_RT8-Aug-06 6:37
MemberHamid_RT8-Aug-06 6:37 
QuestionNo browse info in VS2005 Pin
Jim A. Johnson7-Aug-06 5:14
MemberJim A. Johnson7-Aug-06 5:14 
QuestionCDialogBar with ScrollBar [modified] Pin
hsdjusa7-Aug-06 5:00
Memberhsdjusa7-Aug-06 5:00 
AnswerRe: CDialogBar with ScrollBar Pin
Michael Dunn7-Aug-06 7:28
sitebuilderMichael Dunn7-Aug-06 7:28 
QuestionA trouble question about the dialog Pin
xuwenq887-Aug-06 4:50
Memberxuwenq887-Aug-06 4:50 
AnswerRe: A trouble question about the dialog Pin
Cedric Moonen7-Aug-06 5:05
MemberCedric Moonen7-Aug-06 5:05 
GeneralRe: A trouble question about the dialog Pin
xuwenq887-Aug-06 17:41
Memberxuwenq887-Aug-06 17:41 
GeneralRe: A trouble question about the dialog Pin
Cedric Moonen7-Aug-06 20:19
MemberCedric Moonen7-Aug-06 20:19 
GeneralRe: A trouble question about the dialog Pin
xuwenq8812-Aug-06 5:27
Memberxuwenq8812-Aug-06 5:27 
Questionpacket Filtering with Pfbindinterfacetoindex Pin
_tasleem7-Aug-06 4:16
Member_tasleem7-Aug-06 4:16 
AnswerRe: packet Filtering with Pfbindinterfacetoindex Pin
Viorel.7-Aug-06 4:26
MemberViorel.7-Aug-06 4:26 

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.