Hi,In my vew class.Im drawing one rect and im displaying numbers in right side of corner. Like
10.00
20.00
....
Like this.When the number is like more than five digits,then half then number get out of Rect. Like
20.00|
20000|.00
500.0|0
Here '|' shows the rightside of rect.So i want to align the Numbers in Right Align,It should look like this
20.00|
20000.00|
500.00|
Now im using this code
pDC->TextOut(AlignX(x1+250),AlignY(y2+65),sPV);
If i set
`pDC->SetTextAlign(TA_RIGHT);
Everything in view class get right aligned.I want only this sPV value should be right aligned.In whole view,i drawn some other text using pDC->TextOut(AlignX(x1),AlignY(y2),"TAGNAME"); this TAGNAME also get rightaligned i dont want that.
How can i right align only certain things.?