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

Hybrid View

  1. #1
    Join Date
    Sep 2010
    Posts
    29

    CMFCToolBar changing Windows style

    Hi everyone,
    my application has two CMFCToolBars: the one above filled with icons, the other filled with a bmp. Changing Windows style (for example from Basic to Classic) the toolbar filled with the bitmap has empty buttons. I tried to create two toolbars filled by icons but I couldn't. My OS is Win7 but I have the same problem using XP.
    Could anyone help me? Thanks a lot.

  2. #2
    Join Date
    Sep 2010
    Posts
    29

    Re: CMFCToolBar changing Windows style

    Alternatively, can you tell me which CFrameWnd event is triggered by changing style?
    Last edited by symreds; February 26th, 2011 at 04:00 AM.

  3. #3
    Join Date
    Sep 2010
    Posts
    29

    Re: CMFCToolBar changing Windows style

    nobody?

  4. #4
    Join Date
    Aug 2002
    Posts
    33

    Re: CMFCToolBar changing Windows style

    I think when you switched to classic style, the toolbar will use 16x16 old bitmap color (16 bits).

    When you switched to the high resolution, it will use 256 color style.

Tags for this Thread

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