Jump to content
Sign in to follow this  
icadea

set hindi font for menuitem

Recommended Posts

icadea

Hi all,

I have created a menu with 210 branches. Since the entire content is in hindi, i would like the menu title and submenu to be shown in hindi font as well.

$MenuItem3 = GUICtrlCreateMenu("title", $MenuItem1)
$MenuItem8 = GUICtrlCreateMenu("submenu1", $MenuItem3)
$MenuItem18 = GUICtrlCreateMenuItem("submenu2", $MenuItem8)

I have tried using GuiCtrlSetFont using hindi font so the word title, submenu and submenu2 would be displayed in hindi

GUICtrlSetFont (-1,9, 400, 4, hindsa)

I found that this does not work.

Is there a way to set the fonts for GUICtrlCreateMenu and GUICtrlCreateMenuItem. Please show an example or guidance so I could continue from there. I am going to use this gui mainly on win98 to win XP platform.

thanks

Edited by icadea

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.