By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,879 Members | 1,390 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,879 IT Pros & Developers. It's quick & easy.

Still having a scroll wheel problem

P: n/a
Hi y'all,

I have written a ComboBox derived from DataGridTextBoxColumn to use in a

It seems to be working ok, however...

When the ComboBox is displayed, the mouse scroll wheel slides the ComboBox
down the row. I tried to disable scrolling but failed.

I derived a DataGrid where I overrode the OnMouseWheel event that is empty.
The DataGrid does not scroll.

I derived a ComboBox from System.Windows.Forms.ComboBox to use in the
DataGrid. In this derivation, I overrode the OnMouseWheel event that is

The DataGridTExtBoxColumn class does not have a OnMouseWheel event.

Yet, when the ComboBox is displayed, it scrolls between lines. When it
repositions, it works properly. If I make a selection and then scroll, the
selection is lost. I do not understand how the mouse wheel event is still
causing scrolling. Any insight?

Nov 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.