Glenn,

I want to show the contextmenu strip at the currently selected item.    I
thought if I find the location then it would be easy to use the following
code

contextMenuStrip1.Show(******, ***** );
Did you get me?


On Fri, Oct 24, 2008 at 6:46 PM, Glenn <[EMAIL PROTECTED]> wrote:

> Why do you need to know where it is in the grid?  Can't you just get the
> currently selected item?
>
> Any time I have ever dealt with a list/grid control I have never had a need
> to know where in the list/grid I have been.  All I've had a need for is to
> know the item that is selected.
>
> ...Glenn
>
>   On Fri, Oct 24, 2008 at 8:47 AM, karthi keyan <[EMAIL PROTECTED]>wrote:
>
>> Hi,
>>
>> I am working on to find out the location of cells in datagridview.  I know
>> that under Mouse down event it can be found using HitTest Method.
>>
>> However I wish not to use mouse inside the datagridview and I need to use
>> only the 'UP' and 'DOWN' arrows & also  'APPS' key as an alternative to
>> Mouse right click, I have a context menu strip to display the particular row
>> content in a separate window.
>>
>> Can you please guide me in solving this?
>>
>> Please let me know if my explanation is not clear.  so that I can provide
>> you the code sample.
>>
>> Thanks,
>> Karthikeyan
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web 
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/DotNetDevelopment

You may subscribe to group Feeds using a RSS Feed Reader to stay upto date 
using following url  

<a href="http://feeds.feedburner.com/DotNetDevelopment";> 
http://feeds.feedburner.com/DotNetDevelopment</a>
-~----------~----~----~----~------~----~------~--~---

Reply via email to