There's no "TextAlign" property anymore, and even in form design mode, you cannot set the text alignment.

I tried using the GetWindowLong API call for the ListBox control:

hWnd = GetFocus 'API call, returns handle of control with focus
l = GetWindowLong(hWnd, GWL_EXSTYLE)

This returns 0 !!! Why? If I use the "Window Spy" utility, it tells me that the extended style has WS_EX_LEFT, WS_EX_LEFTSCROLLBAR...

And furthermore, I canot set the value anew with "SetWindowLong". It has no effect.

Does anybody know how to make a listbox right aligned?