How to shrink the client area of a multiline textbox (Windows.Forms.Textbox) from the non-client area?

That is I need to draw a focus line in-between verticalscrollbar and the text area of textbox (i.e line to be drawn inside textbox). So I need a space between the client area (typable area) and the scrollbar to draw the line. Any idea how to achieve this?

The only thing I can think of is to over-ride the OnPaint method and draw the entire control yourself. Re-modelling controls isn't my speciality so that's about the best I can offer. Google may be able to help you on your way.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.