Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / August 2007

Tip: Looking for answers? Try searching our database.

custom menus

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dan - 29 Aug 2007 06:32 GMT
Hello,

I’m writing an application in compact framework 2.0. I need to support
Arabic menus and for that I need to have access to customize the menus to
render strings from right to left and to display Arabic characters.
Now the menus displays only boxes even I have installed Arabic fonts and
DrawString method displays Arabic strings correctly.

Can anyone help me?

Thanks in advance,
Dan.
Paul G. Tobey [eMVP] - 29 Aug 2007 16:26 GMT
Menus are rendered using, if I remember right, the application font
specified in the registry.  However, you have a much bigger problem than
getting the right font to be used: getting the right script direction to be
used.  If the OS was not built specifically to support that, you're going to
have to do it yourself, making sure that the right characters are shown and
so on.  Are you building this device yourself?

Paul T.

> Hello,
>
[quoted text clipped - 8 lines]
> Thanks in advance,
> Dan.
Dan - 31 Aug 2007 14:16 GMT
The OS doesn’t display Arabic text from right to left, for that I have to do
it by my self. I don’t know how to override some Menu events, like Paint to
use my custom render. I don’t know even if it’s possible to do that or there
is any other solution for this problem. I don’t want to use any language
extender tool to change entire OS behavior.

Dan.

> Menus are rendered using, if I remember right, the application font
> specified in the registry.  However, you have a much bigger problem than
[quoted text clipped - 17 lines]
> > Thanks in advance,
> > Dan.
Paul G. Tobey [eMVP] - 31 Aug 2007 16:25 GMT
The only way I've done this is by changing the global menu font.

Paul T.

> The OS doesn't display Arabic text from right to left, for that I have to
> do
[quoted text clipped - 33 lines]
>> > Thanks in advance,
>> > Dan.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.