I have had ample sucess with changing border colors of flat-style textboxes, labels, etc..


unfortuantely, I still cannot figure how to draw a border properly around a listbox.

I have been overriding the WndProc method and capturing msg 15, but unfortunately, this seems to draw inside the client area. I can't get to the 1 pixel border around the listbox.

If I set the BorderStyle of the Listbox to none, I can have a 1 pixel border around the listbox (but its actually drawing inside the client area, which is poor since it leaves lines all over the place.)

I don't know if inflating the cliprectangle by 1 pixel will solve the problem (not sure if I should bother trying)

Anyone have success with this?