How to get PreProcessMessage to work?

G

Guest

I've got my own class inherited from DataGrid.
Overriden OnMouseDown works fine, but PreProcessMessage does not seem to work:

public override bool PreProcessMessage(ref Message msg)
{
//return base.PreProcessMessage (ref msg);
return true;
}

I put break point at first line but it never gets there! What am I doing
wrong?

Thank you
 
G

Guest

extra info:

MyDataGrid is bound to a DataView based on DataTable extracted from database.
It has few text columns and one boolean column. (I don't define my own
columnstyles, all is done by default). Interesting, PreProcessMessage works
only for boolean column, but not for text columns.

Any ideas?
Thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top