CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Threaded View

  1. #1
    Join Date
    Oct 2006
    Posts
    94

    [RESOLVED]How can I have seperate icons for both the CMFCMenuBar and the CMFCToolBar?

    I am using the new 2008 MFC Feature Pack, and when I am creating my toolbar I have large icons in it. The problem is, the icons are also being used by my Menu bar (which I dont want to happen) and I end up with a big chunky menu with tiny text in it and big icons.

    I am creating 2 seperate instances of my CMFCMenuBar and CMFCToolBar, and I dont understand why the menu is using the icons from the toolbar when they have nothing to do with each other. They dont reference each other at all in the code, so the only link they have between each other is they use the same event handlers.

    I would like to somehow have the usual tiny icons in my menu but big icons in the toolbar, but I cant find a way to do it.
    Last edited by SIBUK; August 18th, 2008 at 11:31 PM. Reason: set status to resolved

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