Hi All,
I have a DataGridView control in my winform app. One of the column is DataGridViewCheckBoxColumn. Because some values in this column is unknown, so in the dataGridView1_CellPainting method, I add my own painting logic, and the cell displays like a empty DataGridViewTextBoxCell.
When these cells are selected, I want them to be highlighted with a inset highlight box, and also I want the inset hightlight box to look like the default one. The default one means the dot-dashed one displayed in a button when the button is focused.
How can I draw such a box?
Any comments are appreciated. Thanks.