Ralph
6/12/2012 6:42:00 PM
On Tue, 12 Jun 2012 10:15:16 -0700 (PDT), NadCixelsyd
<nadcixelsyd@aol.com> wrote:
>When I release the mouse button, MouseUp is entered,
> followed immediately by Click. Is there any case where
>one is entered but not the other?
Yes, but not often...
This issue is a matter of where you are looking at and with what you
are catching (or viewing) the events.
At the most elementary level in the WinProc the Translation is mostly
just a MouseDown and a MouseUp. "Clicks" and "DoubleClicks" are part
of an additional translation.
It is possible in some scenarios (combination of control, O/S, and
driver) to get a Click after a MouseDown before a MouseUp, and to
actually have the control 'swallow' the MouseUp so it doesn't fire at
all (as that control's events). With some controls you can modify
"click" handling.
Note, I am not saying this is what IS happening in your case. But what
is the actual problem? What are the components involved? What is the
context?
-ralph