I've created my menu's with an variable, so they are not a fixed name.

Mhhh I try to explain.

I've a Menu called mnuTest which a added in the design phase.
In my code I recieve a string for example:

"P&rinter;Add...;Setup...;"

Now I create a menu "P&rinter" and add a "Add..." menuitem and a "Setup..." menuitem to the "P&rinter" menu

After this I do Insert my Menu to the mnuTest menu
with:

hMenu = GetMenu(myapp.hWnd)
hMenu2 = GetSubMenu(hMenu, 0)

InsertMenu(hMenu2, 0, MF_BYPOSITION Or MF_POPUP, hNewMenu, "P&rinter")

For the new Menu's i do not know how can I call the click event, because I haven't any menu mame, like mnuTest.

Can you help me?

Greets
Scand