Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21690

Application arabic language

$
0
0
Hi,

I have an application in VB6 that it run in a English version of Windows XP. But in an Arabic Xp don't have the same efect. I have a form with one Label and one CommandButton.

If I apply the Windows Style WS_EX_RTLREADING, I can see the title bar OK and the label is moved to the other position (it seems that the origin X is right to left). The commandButton doesn't move it.

Resp = GetWindowLong(pHwnd, GWL_EXSTYLE)
Resp = Resp Or WS_EX_LAYOUTRTL
Resp = SetWindowLong(pHwnd, GWL_EXSTYLE, Resp)

Resp = InvalidateRect(pHwnd, ByVal 0, True)

But, if I maximize the form, the client area is no well repainted.

What should I do to get well repaint the window?

Thanks in advance
Juan Carlos

Viewing all articles
Browse latest Browse all 21690

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>