Create and edit menus with RisohEditor

To Top Page | Previous Page | Next Page


Let's create menu data with the RisohEditor.

In the empty RisohEditor, select "Add" → "Add Menu" from the "Edit" menu.

The "Add Resource" dialog is displayed. Here, enter "1" (one) in "Resource name" and click the "OK" button.

Japanese menu data "RT_MENU (4)" → "1" → "Japanese (Japan) (1041)" has been added to the tree view. It looks like this:

LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT

1 MENU
{
    POPUP "ファイル(&F)"
    {
        MENUITEM "終了(&X)\tAlt+F4", 100
    }
}

(Translation Note: "ファイル" means "File". And "終了" means "Exit")

Let's edit the source text. Edit as follows.

LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT

1 MENU
{
    POPUP "ちょっとしたよくあるテスト(&F)"
    {
        MENUITEM "これは終了だが、敗北ではない(&X)\tAlt+F4", 100
    }
}

(Translation Note: "ちょっとしたよくあるテスト" means "A little common test". And "これは終了だが、敗北ではない" means "This is over, but not defeated")

When you're done, click the "Compile" button. The edited contents are accepted.

You can test the menu by pressing the "Test" button ().

[Testing]

To end the test, press the close button on the Test Menu window.

Next, double-click "Japanese (Japan) (1041)" in the tree view. The "Edit Menu Resource" dialog will be displayed. This dialog allows you to edit more easily than the source text.

[Edit menu resource]

I will briefly explain how to use this dialog.

After editing the menu as appropriate, click "OK" and export to a suitable location with the name "mymenu.rc".


To Top Page | Previous Page | Next Page

inserted by FC2 system