Could you use something like:
private void theCombo_DrawItem(object sender,
System.Windows.Forms.DrawItemEventArgs e){
ComboBox cb = (ComboBox)sender;
object o = cb.Items[0];
/*... do stuff here with o ...*/
}
then cast that to whatever drawing type you're working with?
fragget <fr*****@home.com> wrote in message news:<uc********************************@4ax.com>. ..
hi-
when
private void theCombo_DrawItem(object sender,
System.Windows.Forms.DrawItemEventArgs e)
is called for a ComboBox how do I know when
the system is drawing the item that appears in
the top of the box? i want to change the border
for that item only.
thanks - fg