Is there any way to remove the dotted line rectangle, which indicates the keyboard focus, on a Win32 common control, without owner draw or subclass them?
It seems that under WPF one can control the visual style of the focus rectangle, but I failed to find corresponding API on a Win32 common control.
I don’t believe there is a simple style that allows you to turn off the focus rect on a list view control. The only way I’ve ever seen it done is with an owner draw control. I know this is not the answer you were looking for, but there are examples of owner draw controls that do this available… just so you don’t have to do all the work. 🙂