The following sample illustrates the resource code (RC):

#include "hello.ih"

MENU ID_OPENHELLO LOADONCALL MOVEABLE DISCARDABLE
BEGIN
   MENUITEM "~Say Hello", IDM_OPENHELLO
END

MENU ID_MSGBOX LOADONCALL MOVEABLE DISCARDABLE
BEGIN
   MENUITEM "~Message Box", IDM_MSGBOX
END


[Back] [Next]