Menu without submenus using resource script or CMenu functions

102 Views Asked by At

I want to create a menu without any submenus.
A common way to create a menu is:

BEGIN
   POPUP "File"
   BEGIN
      MENUITEM "Copy", IDM_EDIT_COPY
      MENUITEM "Paste", IDM_EDIT_PASTE
   END
   ...
END

Now I just want "File" without the submenus "Copy" and "Paste". How do I achieve this?

1

There are 1 best solutions below

0
sergiol On

Did you try

BEGIN
   MENUITEM "File", ID_FILE
   ...
END

?