|
-
Feb 21st, 2001, 06:35 PM
#1
Thread Starter
New Member
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
-
Feb 21st, 2001, 10:21 PM
#2
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).
-
Feb 22nd, 2001, 12:47 AM
#3
Thread Starter
New Member
My knowledge of API is limited. Can you give me a bit more info on how iw ould do that?
adam
-
Feb 22nd, 2001, 01:12 AM
#4
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|