If you want to custom paint the ComboBox chrome (not the item it shows),
this is the way to go.
If you want to custom paint the ComboBox items (including the one
currently shown in a closed ComboBox), Robert's example using OwnerDraw
is the way to go.
Jonathan
On 5/5/2010 10:06 AM, Stifu wrot
Hi,
What I think I would do is create my own CustomComboBox that inherits from
ComboBox, and override the OnPaint method to use the Graphics DrawString and
Transform methods (to add and rotate a bit of text). This should let you do
what you want in a flexible way. Images could also be added this
On 05.05.2010 12:22, pfj wrote:
>
> Hi,
>
> I'm trying to put together a small organic chemistry application which will
> allow my students to create molecules which it will then name (or that the
> program generates for the student to name). What I'm trying to do is this
>
> Type in the name of th
Hi,
I'm trying to put together a small organic chemistry application which will
allow my students to create molecules which it will then name (or that the
program generates for the student to name). What I'm trying to do is this
Type in the name of the atom (say C). To either side, above and bel