How can I remove the 3d border of a combobox on a windows form.

even on a box using xp style it is painting with a 3d border.
it does not seem to have a BorderStyle property.

could I do this by overriding OnPaint at all?

Adam

Re: remove combox 3d border by hirf-spam-me-here

hirf-spam-me-here
Thu Sep 02 20:25:28 CDT 2004

* =?Utf-8?B?YWRhbUB0d3Yub3Jn?= <adamtwvorg@discussions.microsoft.com> scripsit:
> How can I remove the 3d border of a combobox on a windows form.
>
> even on a box using xp style it is painting with a 3d border.
> it does not seem to have a BorderStyle property.

<URL:http://www.codeproject.com/vb/net/FlatCombo.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>