You can create them with a text editor and save them as a .rc file like;
Code:
IDR_MENU1 MENU DISCARDABLE
BEGIN
POPUP "Connection"
BEGIN
MENUITEM "Connect", ID_CONN
MENUITEM "Disconnect", ID_DIS
MENUITEM SEPARATOR
MENUITEM "Exit", ID_EXIT
END
END
This details a menu that you can call LoadMenu() on. If you use the resource editor with say VC++6, you can build this component graphically but it will still save it as the script you see above.
You can also create a menu directly in your code with the CreateMenu() function.