DataGridView CellPainting draw border when active cell

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

I'm trying to paint a border around specific cells in a DataGridView. This
works fine unless the cell becomes the active cell. When the cell becomes
active the code i have in CellPainting is overwritten by some other paint
routine which gets called after CellPainting. Any suggestions for a solution?

Thanks!
 

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

Back
Top