Click here to Skip to main content
15,909,829 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to use CreateTimerQueueTimer? Pin
yingkou21-Jul-04 3:16
yingkou21-Jul-04 3:16 
GeneralBringWindowToTop oddness Pin
Joel Holdsworth20-Jul-04 0:42
Joel Holdsworth20-Jul-04 0:42 
GeneralRe: BringWindowToTop oddness Pin
Ravi Bhavnani20-Jul-04 1:41
professionalRavi Bhavnani20-Jul-04 1:41 
GeneralRe: BringWindowToTop oddness Pin
David Crow20-Jul-04 2:20
David Crow20-Jul-04 2:20 
GeneralRe: BringWindowToTop oddness Pin
Joel Holdsworth20-Jul-04 6:43
Joel Holdsworth20-Jul-04 6:43 
GeneralRe: BringWindowToTop oddness Pin
David Crow20-Jul-04 7:20
David Crow20-Jul-04 7:20 
GeneralRe: BringWindowToTop oddness Pin
Joel Holdsworth20-Jul-04 7:21
Joel Holdsworth20-Jul-04 7:21 
GeneralCDeadManButton Pin
Joel Holdsworth20-Jul-04 0:29
Joel Holdsworth20-Jul-04 0:29 
Hi,
I'm in the process of writing a button control that has "dead man" behaviour. The button will be used to control some machinery, and the customer has asked for this button control that will only allow activity to happen while the mouse button is pressed on it.

I'm making a control that intercepts messages WM_LBUTTONDOWN and WM_LBUTTONUP so that it can notify the backend when the user presses/releases the button. My question is this: Is there is any chance (even the slightest most skinny chance) that delivery of the WM_LBUTTONUP message might fail? I'd imagine that there might be a 1 in a million chance. So does anyone have any advice for implementing this safely?

Joel Holdsworth
GeneralRe: CDeadManButton Pin
Trollslayer20-Jul-04 2:00
mentorTrollslayer20-Jul-04 2:00 
GeneralRe: CDeadManButton Pin
Alexander Wiseman20-Jul-04 3:16
Alexander Wiseman20-Jul-04 3:16 
GeneralRe: CDeadManButton Pin
PJ Arends20-Jul-04 9:44
professionalPJ Arends20-Jul-04 9:44 
GeneralRe: CDeadManButton Pin
Alexander Wiseman20-Jul-04 11:22
Alexander Wiseman20-Jul-04 11:22 
GeneralRe: CDeadManButton Pin
Ravi Bhavnani20-Jul-04 2:02
professionalRavi Bhavnani20-Jul-04 2:02 
QuestionVisual C++ Toolkit: optimizing or not? Pin
LiquidEyes19-Jul-04 23:48
LiquidEyes19-Jul-04 23:48 
AnswerRe: Visual C++ Toolkit: optimizing or not? Pin
Kevin McFarlane20-Jul-04 1:59
Kevin McFarlane20-Jul-04 1:59 
GeneralRe: Visual C++ Toolkit: optimizing or not? Pin
LiquidEyes20-Jul-04 4:00
LiquidEyes20-Jul-04 4:00 
AnswerRe: Visual C++ Toolkit: optimizing or not? Pin
bneacetp20-Jul-04 2:52
bneacetp20-Jul-04 2:52 
GeneralRe: Visual C++ Toolkit: optimizing or not? Pin
The Bowman20-Jul-04 6:53
The Bowman20-Jul-04 6:53 
GeneralRe: Visual C++ Toolkit: optimizing or not? Pin
bneacetp20-Jul-04 10:27
bneacetp20-Jul-04 10:27 
Generaldecompiler for DLL Pin
pubududilena19-Jul-04 23:43
pubududilena19-Jul-04 23:43 
GeneralRe: decompiler for DLL Pin
David Crow20-Jul-04 2:21
David Crow20-Jul-04 2:21 
GeneralRe: decompiler for DLL Pin
V.20-Jul-04 2:46
professionalV.20-Jul-04 2:46 
GeneralRe: decompiler for DLL Pin
David Crow20-Jul-04 2:58
David Crow20-Jul-04 2:58 
GeneralRe: decompiler for DLL Pin
Tim Smith20-Jul-04 4:11
Tim Smith20-Jul-04 4:11 
GeneralRe: decompiler for DLL Pin
David Crow20-Jul-04 4:26
David Crow20-Jul-04 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.