Results 1 to 3 of 3

Thread: Icons on a Menu

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2002
    Location
    Canton, GA
    Posts
    487

    Icons on a Menu

    How can I add Icons to my menu??

    For Example: How do an image of a door to the Exit selection on my menu??

    Also....

    What is the code the detect what menu item was selected?

    I am a newbie so please keep it simple... If you can

    Thanks in advance!

    Anjari

  2. #2
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    you'll have to draw each item with GDI+.
    you can find gdi+'s libraries in System.Drawing.

    just open the desired image as Image and with gdi draw it on the desired menu
    \m/\m/

  3. #3
    Hyperactive Member Scott Penner's Avatar
    Join Date
    Dec 2000
    Location
    Mountain View
    Posts
    327

    OwnerDraw

    Look up OwnerDraw in the MSDN help. You can use this property with many controls to allow you to draw an item yourself (like in the menu).
    -scott
    he he he

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