PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Listbox Text Align
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Listbox Text Align
![]() |
Listbox Text Align |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hii All,
I am using a listbox and i display in it arabic contents, for arabic lang. I have to align the text from right, but the listbox doesn't support that, could i do that by another way or not. Thanks in advance, Regards Tamer Hesham |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Check out this link http://www.danielmoth.com/Blog/2005...ess-on-rtl.html.
You can get it somewhat working on CE5.0 devices. HTH. ________________________________________ Mark Arteaga ..NET Compact Framework MVP http://www.opennetcf.com | http://blog.markarteaga.com > Hii All, > I am using a listbox and i display in it arabic contents, for arabic > lang. I > have to align the text from right, but the listbox doesn't support > that, > could i do that by another way or not. > Thanks in advance, > Regards > Tamer Hesham > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Thanks Mark, the link was great, but i found that the header file used
(winuser.h) for runing the function setWindowLong(), but i work on C# not C++, so how could i use this function in C#. Thanks in advance Regards Tamer Hesham |
|
|
|
#4 |
|
Guest
Posts: n/a
|
No header file required. When you call native functions you have to use
pinvoke. Read this: http://www.danielmoth.com/Blog/2005/02/win32api.html Cheers Daniel -- http://www.danielmoth.com/Blog/ "Tamer Hesham" <TamerHesham@discussions.microsoft.com> wrote in message news:32B9DED3-C8C8-406E-85E1-9097F0BBF2DA@microsoft.com... > Thanks Mark, the link was great, but i found that the header file used > (winuser.h) for runing the function setWindowLong(), but i work on C# not > C++, so how could i use this function in C#. > Thanks in advance > Regards > > Tamer Hesham |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

