471,612 Members | 2,036 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,612 software developers and data experts.

How to change a ComboBox's font?

Hi,

In my C# WindowsForm, I have a ComboBox MyCombo which has 3 items, ItemA,
ItemB, and ItemC.
Now I want the ItemC's color changed to Red while the other Item sitll have
Black.
Is it possilbe to do that?
Thanks for help.
Jason
Nov 26 '05 #1
1 7966
You can owner draw the ComboBox. See the example at the link below.
http://msdn.microsoft.com/library/de...wmodetopic.asp

--
Tim Wilson
..NET Compact Framework MVP

"Jason Huang" <Ja************@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi,

In my C# WindowsForm, I have a ComboBox MyCombo which has 3 items, ItemA,
ItemB, and ItemC.
Now I want the ItemC's color changed to Red while the other Item sitll have Black.
Is it possilbe to do that?
Thanks for help.
Jason

Nov 26 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Harlin Seritt | last post: by
2 posts views Thread by Thomas Wang | last post: by
4 posts views Thread by Beeeeeeeeeeeeves | last post: by
1 post views Thread by genojoe | last post: by
5 posts views Thread by Keith G | last post: by
1 post views Thread by fiaolle | last post: by
4 posts views Thread by Bob | last post: by
3 posts views Thread by Simon Tamman | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by CCCYYYY | last post: by
1 post views Thread by ZEDKYRIE | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.