Click to See Complete Forum and Search --> : Text Alignment.


October 12th, 1999, 03:54 AM
Can anyone tell me how the SETTEXTALIGN and TEXTOUT API functions work together?? I wrote this code, but it doesn't work:

Const TA_CENTER = 6
...
Call SetTextAlign(UserControl.hdc, TA_CENTER)
Call TextOut(UserControl.hdc, 0, 0, mCaption, Len(mCaption))