Re: DataGridView.CurrentCell scrolling

Tech-Archive recommends: Speed Up your PC by fixing your registry



Thanks for the code, that worked well once I set the context menu to (none).
I had it set at the Column level and not the Grid level which is what
confused me.

Now, if it's not too much to ask, can I reposition the mouse to where the
context menu now opens?

--
stullhe104


"Zhi-Xin Ye [MSFT]" wrote:

Dear stullhe,

To make my code work, you can just handle the CellMouseClick event without
handle the MouseClick event.

And if you had set the ContextMenuStrip property, please reset it to none.
When you set this property, the CellMouseClick event won't fire when right
clicks on the DataGridView.

Should you have any question,please don't hesitate to contact me.

Have a nice day!

Sincerely,
Zhi-Xin Ye
Microsoft Managed Newsgroup Support Team

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx

This posting is provided "AS IS" with no warranties, and confers no rights.


.



Relevant Pages

  • Re: Most overrated (but still HOF caliber) player of all time
    ... and this context is filtered through the athlete's will. ... more about the athlete in question. ... A good manager understands, to ... the statfans usually have far less ...
    (rec.sport.baseball)
  • Re: Unable right click
    ... KEWL, I wasn't aware of the addin manager, and Yes, I think Cliff is on ... Exploder is exploding as the rt-menu comes up, ... Sort by Type, go to Context Menu, and disable all the ...
    (microsoft.public.windows.server.sbs)
  • Re: Threading Issues
    ... > with this Manager, and then flushes the manager ... > I would like to create a transaction object and add it to the call context ... request, and the same thread will handle the whole request. ...
    (microsoft.public.dotnet.framework.clr)
  • Re: Static members in ASP .net
    ... areas that actually have a context. ... Async Manager), then this won't work. ... Now, with that said, your implementation of the Singleton pattern is broken. ... not aware of concurrency and the issues that can arise from it (which, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Is eating people wrong?
    ... And the context of the first post involved willies.... ... Who is a Friar's manager anyway, ... I just demonstrated there was a more sustainable method of eating ...
    (uk.politics.misc)