custom menus

G

Guest

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.
 
P

Paul G. Tobey [eMVP]

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.
 
G

Guest

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.
 
P

Paul G. Tobey [eMVP]

The only way I've done this is by changing the global menu font.

Paul T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top