Re: How to align text for combo box

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"awu" <awu10@xxxxxxxxxxx> wrote in message
news:1156603596.977155.10840@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi, All:
I am using .NET 2005 MFC. I can program to add a list of strings to my
combo box. But I would like to align text in the center. I don't find
a way in property window.

Which function I should use to align text for combo box programmbly.


I don't think this is supported in a CCombobox. The only way to do it is to
make the listbox portion owner-drawn and draw the strings yourself.

-- David


.



Relevant Pages

  • Re: How to align text for combo box
    ... I am using .NET 2005 MFC. ... I can program to add a list of strings to my ... Which function I should use to align text for combo box programmbly. ...
    (microsoft.public.vc.mfc)
  • Formatted printing
    ... I am having trouble printing a table of values. ... The problem is that the table may contain anything from 2 character ... i am unable to align them properly. ...
    (comp.lang.perl.misc)
  • Re: make buildkernel error
    ... cc1: error: unrecognized command line option ... What does FreeBSD mean by "Do not align long strings specially"? ...
    (freebsd-questions)
  • Re: Display TSV files with columns aligned
    ... K> Align is a general-purpose text filter tool that helps vertically align ... Tom Worster said: ... T> really long strings in it. ... T> can't figure out the script and how to modify it to add this trick. ...
    (freebsd-questions)
  • Re: [PATCH 02/39] arch/alpha: Update WARN uses
    ... Align arguments. ... It looks like you joined two strings (which ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)