CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2011
    Location
    Vilnius/Utena, Lithuania
    Posts
    14

    [RESOLVED] DataGridView click event

    It might be stupid, but is there DataGridView event reacting on dataGridView background click (place where are no elements)?
    Or do I have to use some event and check where/on what click was performed?

  2. #2
    Join Date
    Jan 2011
    Location
    Vilnius/Utena, Lithuania
    Posts
    14

    Re: DataGridView click event

    Should be Solved using DataGridView.HitTest Method and checking HitTestInfo Type, which is "None" when clicked on empty space.
    Last edited by Migeria; June 9th, 2011 at 01:54 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured