centering text in CComboBox

How can I center the text in a CComboBox?  I'd like each list item to be centered (makes them easier to read and it looks nicer).

Thanks in advance.
guinessAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mikeblasCommented:
There's no style to do this.  You have to make an ownerdraw box.

If you want a sample, let me know.

..B ekiM
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
guinessAuthor Commented:
Yes please, a sample would be great!
0
mikeblasCommented:
I don't normally write samples for such a small amount of points.

But, I guess sometimes charity is OK.

See the ODCOMBO.ZIP sample at http://www.nwlink.com/~mikeblas/samples . (Note that, someday, my webpage will move to http://www.mooseboy.com/ )

..B ekiM
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.