1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

A Stylish Context Menu

Discussion in 'MFC' started by Gurjeet Singh Batth, Jan 18, 2008.

  1. Gurjeet Singh Batth

    Gurjeet Singh Batth New Member

    Joined:
    Nov 1, 2007
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Software Engineer
    Location:
    Punjab
    Hello Everybody

    [​IMG]

    Can Anybody tell me that what type of context menu is it?
    The picture above, is of a Utility software I downloaded from Net.
    It is written in VC++.

    I just wanted to know How this stylish context menu is drawn.
    Give me some hint if you can.
    Thanks
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,285
    Likes Received:
    364
    Trophy Points:
    83
    We cannot see the image that is on your local machine. You need to upload it to some server and then put that in the IMG tag or upload the image to the post itself.
     
  3. Gurjeet Singh Batth

    Gurjeet Singh Batth New Member

    Joined:
    Nov 1, 2007
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Software Engineer
    Location:
    Punjab
    Sorry, I Forgot to Preview My Last Post.
    The Picture I want you to see is attached with this post.
    Thank you Very Much.
     

    Attached Files:

  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,285
    Likes Received:
    364
    Trophy Points:
    83
    Its just you need to be doing all the paintings / of the menu. Just a simple approach is to sub class the menu class and handle all the paint related events.

    Also I have removed the zipped and saved the image as jpg and uploaded in your post so that we don't need to download to preview your menu.
     

Share This Page