Results 1 to 4 of 4

Thread: InsertMenuItem - Can you specify item as sub menu

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2001
    Location
    australia
    Posts
    8
    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

  2. #2
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628
    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 light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2001
    Location
    australia
    Posts
    8
    My knowledge of API is limited. Can you give me a bit more info on how iw ould do that?

    adam

  4. #4
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628
    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.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width