Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datagridview check selection area

Status
Not open for further replies.

slybitz

Technical User
Mar 25, 2005
113
US
I have a datadridview and it is a set size on my form. The data rows within the datagridview do not always fill up the entire datagridview. This is fine and what I want. The problem is that I'm trying to check if the user actually clicks on a cell within the datagridview or if they clicked outside any of the data rows within the datagridview (where there are no data rows showing). I'm not sure how to do this. Any ideas?

Thanks!
 
Would this be as straightforward as handling the CellMouseClick event or am I missing something here?

Did you mean to post this in the VB.NET/VB2005 forum?
 
Ah crud, sorry about that. Wrong forum. I'll post in the correct forum.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top