Results 1 to 4 of 4

Thread: Getting Menu Name **SOLVED**

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2003
    Posts
    24

    Getting Menu Name **SOLVED**

    Hi all, simple question today... or so I thought

    How do I retrieve the name of a menu ?

    I've used the designer to build menus for my application and in the designer, you can set names to your menus like : mnuFile, mnuExit etc...

    In my code, I loop through my controls list and come across a menuitem object and would want to have his name... but it looks like the .Name property isn't available for MenuItems.... Strange and plain stupid if you ask me...


    I get the Handle on the menu so I figured there could be a Rock Around for this.... searched the web, google, many msgbrd, couldn't find anything....


    As anyone ever try to do this and actually succeeded ???

    Thx for your help and time.

    PS: Don't be afraid to point me to your Questions in this forum as I'd be glad to help you out
    Last edited by 1337_Vince; Apr 1st, 2004 at 12:25 PM.

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