Results 1 to 2 of 2

Thread: Custom Menus

  1. #1

    Thread Starter
    Addicted Member Hole-In-One's Avatar
    Join Date
    Mar 2003
    Location
    Minnesota
    Posts
    195

    Custom Menus

    Is there anyway to get a control to be placed on a menu?


    What I want is to put a combox in a menuitem under the "File" menuitem in my app.

    Is it possible?

    Any suggestions or links would be great!

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    Well, unfortunately, you can't just add a windows forms control to MainMenu, only mainmenuitems.

    So perhaps you can use the owner-draw option, and have the combobobx render to the graphics surface of the MenuItem.

    I'll warn you right now, I don't think you will easily accomplish this. You would be better off making your own menu... than twisting the MainMenu class of .Net to do this.
    Last edited by nemaroller; Apr 7th, 2004 at 12:13 AM.

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