I've got a CDaoRecordView form -- one of the fields of which
is a CEdit displaying a COleCurrency value stored in the
recordset. No problem...except that I would like the value
to be right-justified.
Neither the "Align Text" style, nor the "Right align text"
extended style seem to work. The help says this working depends
on the window's style... Can't find anything in the online help,
codeguru, etc.. about right aligning a number in a CEdit. I
even compiled up a bunch of the likely sample projects, but of
course, I can't find even one field with a number that is right-
What direction do I go here? Surely I don't pad the string with
spaces...aren't the characters different widths?
Do I override the control's OnDraw function or something? I can
see constructing the string, then getting its display width,
subtracting that from the field width, and drawing the number
in the right place. But that seems like I must be re-inventing