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))




Reply With Quote