什么控件的?
taLeftJustify Text is left-justified: Lines all begin at the left edge of the control.
taCenter Text is centered in the control.
taRightJustify Text is right-justified: Lines all end at the right edge of the control.
taLeftJustify Text is left-justified: Lines all begin at the left edge of the control.
taCenter Text is centered in the control.
taRightJustify Text is right-justified: Lines all end at the right edge of the control.
or
DrawText(hdc,'Test',4,Rect,DT_CENTER ).........