Blocking MouseUp

  • Thread starter Thread starter Zach
  • Start date Start date
Z

Zach

Is it possible to block MouseUp?
If so, what would be the code to effect the blocking?

Many thanks,
Zach.
 
Michael C said:
I presume you want to hide a right click menu built into an existing
control?
oooooooooooooooooooooooooooooooooooooooooooooooooo
Yes I do.

Zach.
 
in message news:[email protected]...

I presume you want to hide a right click menu built into an existing
control?
oooooooooooooooooooooooooooooooooooooooooooooooooo

I WOULD LIKE TO:
Block mouseDown - NO.
Block mouseUp - YES.
Both in terms of contextMenuStrip displaying.

Why?
1. Because I CAN display the mouseDown menu at certain x, y.
2. Because I CAN'T display the mouseUp menu at certain x, y .

Why #1?
Because I wrote code that can do that.

Why not #2?
Because I searched all over the place, finding discussions
and quasi solutions - both to no avail .

Zach.
 
oooooooooooooooooooooooooooooooooooooooooooooooooo

I WOULD LIKE TO:
Block mouseDown - NO.
Block mouseUp - YES.
Both in terms of contextMenuStrip displaying.

Why?
1. Because I CAN display the mouseDown menu at certain x, y.
2. Because I CAN'T display the mouseUp menu at certain x, y .

Why #1?
Because I wrote code that can do that.

Why not #2?
Because I searched all over the place, finding discussions
and quasi solutions - both to no avail .

You've started a new thread for the same topic. And what you're trying to do
will get you nowhere. The list view (which is what you're dealing with,
right?) has no built-in context menu. The solution you're looking for would
work if you were trying to stop a context menu from appearing on a text box,
but it won't work for a list view.
 
Jeff Johnson said:
You've started a new thread for the same topic. And what you're trying to
do will get you nowhere. The list view (which is what you're dealing with,
right?) has no built-in context menu. The solution you're looking for
would work if you were trying to stop a context menu from appearing on a
text box, but it won't work for a list view.
ooooooooooooooooooooooooooooooooooooooooooooooooooooooo

"You've started a new thread for the same topic."

No I am not: my question is different one.
In the other thread I was asking how to locate a context Menu Strip,
here I am asking how to block the consequences of MouseUp.
And that is a different question.

Zach.
 
Jeff Johnson said:
You've started a new thread for the same topic. And what you're trying to
do will get you nowhere. The list view (which is what you're dealing with,
right?) has no built-in context menu. The solution you're looking for
would work if you were trying to stop a context menu from appearing on a
text box, but it won't work for a list view.
ooooooooooooooooooooooooooooooooooooooooooooooooooooo
I am NOT asking how to stop a conectMenuStrip from appearing
I am asking how to stop mouse Up from executing.
Please don't divert this thread to another issue.
Many thanks,
Zach.
 
I am NOT asking how to stop a conectMenuStrip from appearing
I am asking how to stop mouse Up from executing.
Please don't divert this thread to another issue.
Many thanks,
Zach.

Uh, wait a minute. From your previous response:
oooooooooooooooooooooooooooooooooooooooooooooooooo
Yes I do.

And then from another previous response:
I WOULD LIKE TO:
Block mouseDown - NO.
Block mouseUp - YES.
Both in terms of contextMenuStrip displaying.

So...yeah, whatever. I'm still looking into this on the other thread.
 
Back
Top