CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 1999
    Posts
    7

    Can't find where CMenu is drawn

    Hello,

    I want to do some things with CMenu that aren't built into the class. So I'm trying to find where CMenu is actually drawn by within MFC. I've noticed that CMenu is derived from CObject and not CWnd which makes me think that the menu's parent frame is actually drawing it. Can anyone point me in the right direction? I'm looking for where hit tesing and drawing is done. Creating an owner drawn menu doesn't seem to be an option right now.
    Thank you!
    Rich


  2. #2
    Join Date
    Aug 1999
    Location
    Germany
    Posts
    2,338

    Re: Can't find where CMenu is drawn

    The Menu is only drawn internal, so you have no chance to do something about it. You can only draw the items by using an ownder-draw menu.

    Martin



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

Featured