Click here to Skip to main content
16,010,553 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VC6 Project dependencies and project configurations Pin
Prakash Nadar24-Feb-04 14:31
Prakash Nadar24-Feb-04 14:31 
GeneralRe: VC6 Project dependencies and project configurations Pin
Michael Dunn24-Feb-04 15:40
sitebuilderMichael Dunn24-Feb-04 15:40 
GeneralRe: VC6 Project dependencies and project configurations Pin
Diarrhio24-Feb-04 17:54
Diarrhio24-Feb-04 17:54 
GeneralRe: VC6 Project dependencies and project configurations *solved* Pin
Diarrhio25-Feb-04 10:59
Diarrhio25-Feb-04 10:59 
GeneralMFC SDI FormView - need multi-edit views Pin
braddenn24-Feb-04 11:55
braddenn24-Feb-04 11:55 
GeneralRe: MFC SDI FormView - need multi-edit views Pin
CodeBrain25-Feb-04 2:04
CodeBrain25-Feb-04 2:04 
GeneralDistinguish btwn click within and more than one second Pin
vancouver77724-Feb-04 11:08
vancouver77724-Feb-04 11:08 
GeneralRe: Distinguish btwn click within and more than one second Pin
PJ Arends24-Feb-04 14:43
professionalPJ Arends24-Feb-04 14:43 
Get rid of the OnTimer.

In your buttondown handler, get the current time.
In your buttonup handler, also get the current time. Then compare the time to the time you got in the button down handler. Check if the difference is greater than or less than 1 second.

You can use CTime and CTimeSpan, or COleDateTime and COleDateTimeSpan, or SYSTEMTIME, or FILETIME, etc.







Sonork 100.11743 Chicken Little

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

Within you lies the power for good - Use it!
Generalcontrol containers.. Pin
Kagehi24-Feb-04 10:33
Kagehi24-Feb-04 10:33 
GeneralRe: control containers.. Pin
Kagehi25-Feb-04 7:14
Kagehi25-Feb-04 7:14 
QuestionReferencing an external version resource? Pin
Ravi Bhavnani24-Feb-04 9:22
professionalRavi Bhavnani24-Feb-04 9:22 
AnswerRe: Referencing an external version resource? Pin
David Crow24-Feb-04 9:39
David Crow24-Feb-04 9:39 
GeneralRe: Referencing an external version resource? Pin
Ravi Bhavnani24-Feb-04 9:45
professionalRavi Bhavnani24-Feb-04 9:45 
GeneralRe: Referencing an external version resource? Pin
David Crow24-Feb-04 9:56
David Crow24-Feb-04 9:56 
GeneralRe: Referencing an external version resource? Pin
Ravi Bhavnani24-Feb-04 11:09
professionalRavi Bhavnani24-Feb-04 11:09 
GeneralRe: Referencing an external version resource? Pin
David Crow24-Feb-04 15:43
David Crow24-Feb-04 15:43 
GeneralRe: Referencing an external version resource? Pin
Ravi Bhavnani25-Feb-04 5:40
professionalRavi Bhavnani25-Feb-04 5:40 
GeneralRe: Referencing an external version resource? Pin
Prakash Nadar24-Feb-04 14:04
Prakash Nadar24-Feb-04 14:04 
GeneralRe: Referencing an external version resource? Pin
Ravi Bhavnani25-Feb-04 5:36
professionalRavi Bhavnani25-Feb-04 5:36 
AnswerRe: Referencing an external version resource? Pin
Michael Dunn24-Feb-04 15:43
sitebuilderMichael Dunn24-Feb-04 15:43 
GeneralRe: Referencing an external version resource? Pin
Ravi Bhavnani25-Feb-04 5:39
professionalRavi Bhavnani25-Feb-04 5:39 
GeneralSockets Pin
Anonymous24-Feb-04 6:49
Anonymous24-Feb-04 6:49 
GeneralRe: Sockets Pin
Prakash Nadar24-Feb-04 14:00
Prakash Nadar24-Feb-04 14:00 
QuestionSingle-instance executable??? Pin
DanYELL24-Feb-04 6:37
DanYELL24-Feb-04 6:37 
AnswerRe: Single-instance executable??? Pin
David Crow24-Feb-04 6:51
David Crow24-Feb-04 6:51 

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.