PC Review


Reply
Thread Tools Rate Thread

DataGridView: Supressing left mouse click row selection

 
 
=?Utf-8?B?TWFyaXVzSQ==?=
Guest
Posts: n/a
 
      20th Apr 2006
Some of my datagridview rows should not be selectable, thus I need to
suppress left mouse button row selection. Any ideas?
 
Reply With Quote
 
 
 
 
=?Utf-8?B?eW9nYSB3ZWF6ZWw=?=
Guest
Posts: n/a
 
      20th Apr 2006
Check out Control.PreProcessControlMessage and Control.PreProcessMessage
event handlers. You can also handle other nav events such as using the up
and down arrow keyboard buttons using these handlers.



"MariusI" wrote:

> Some of my datagridview rows should not be selectable, thus I need to
> suppress left mouse button row selection. Any ideas?

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to map the mouse middle click to righ/left click? lichuan.nj@gmail.com Microsoft Windows 2000 3 30th Apr 2007 01:49 AM
.NET 2.0: Right click on DataGridView and Cell Selection A.M-SG Microsoft Dot NET Framework Forms 1 17th Jan 2006 06:12 AM
DataGridView: Force row selection on right-click? Spencer Williamson Microsoft VB .NET 2 21st Nov 2005 07:23 PM
Determine right/left mouse click on Click/DoubleClick event cmelnick Microsoft Dot NET 2 3rd Apr 2005 01:09 AM
Right Mouse Click or Left Mouse Click - Detecting Which jcrouse Microsoft VB .NET 5 4th Jul 2004 12:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:49 AM.