PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Negate mouse events.

Reply

Negate mouse events.

 
Thread Tools Rate Thread
Old 24-02-2005, 09:10 AM   #1
jean-dot-paul-at-opelwilly-dot-com
Guest
 
Posts: n/a
Default Negate mouse events.


Hello all,

is there a way to negate all mouse events for a control without setting
Enable to false. I want to make a derived comboBox that I can set Read-Only
so that the user can't change anything but the progam has to hold control of
it; changing backgroundcolor or what so ever.
For the keyboard input I can set KeyEventArgs.Handled=true but for the mouse
events I do not find such thing.
I want to prevent the DropDown part to open so that a user can't change the
Value of my combobox.

Greets,

Jean Paul


  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off