I need to create sub menus at runtime.
I cant do it with control arrays as they just become menu items.
Can the insertmenuitem be used for my purpose?
adam
Printable View
I need to create sub menus at runtime.
I cant do it with control arrays as they just become menu items.
Can the insertmenuitem be used for my purpose?
adam
Yes. However, you will need to subclass the window to trap the events caused by clicking the new menu entries (they will pass their unique id number).
My knowledge of API is limited. Can you give me a bit more info on how iw ould do that?
adam
im not real strong in subclassing. Hopefully someone else who has done a lot of it will see this post and make some code for you.