custom menus

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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.
 
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.
 
Back
Top