CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2019
    Posts
    34

    Remaining strip is grey of CMFCTOOLBAR

    I derived a class from CMFCTOolBar and uses function OnFillBackground , i was successfully able to color the background behind the bitmap to white but remaining strip is still grey.image is attached for reference. Please suggest how to make this strip as white
    Attached Images Attached Images  

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,493

    Re: Remaining strip is grey of CMFCTOOLBAR

    The attached image is so grainy I can't tell what's wrong.

  3. #3
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,219

    Re: Remaining strip is grey of CMFCTOOLBAR

    I agree with Arjay. It is very hard to distinguish between the colors on the attached image.
    And I guess that the "strips" you refer to do not belong to your CMFCToolBar window.
    Victor Nijegorodov

  4. #4
    Join Date
    Sep 2019
    Posts
    34

    Re: Remaining strip is grey of CMFCTOOLBAR

    Please see an updated image......
    Attached Images Attached Images  

  5. #5
    Join Date
    Sep 2019
    Posts
    34

    Re: Remaining strip is grey of CMFCTOOLBAR

    Yes victor i agree with you , i guess it belongs to CFrameWndEx , so problem is i want to make this strip color White

  6. #6
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,219

    Re: Remaining strip is grey of CMFCTOOLBAR

    Quote Originally Posted by Sparsh_21j View Post
    Yes victor i agree with you , i guess it belongs to CFrameWndEx , so problem is i want to make this strip color White
    To be sure what window it belongs to try Spy++.
    Victor Nijegorodov

  7. #7
    Join Date
    Sep 2019
    Posts
    34

    Re: Remaining strip is grey of CMFCTOOLBAR

    Its CFrameWndEx

  8. #8
    Join Date
    Aug 2021
    Posts
    12

    Re: Remaining strip is grey of CMFCTOOLBAR

    the toolbars lay in a pane of the mainframe and i believe you can change the colors as needed but there are choices for window styles in the custom settings the user picks in a dialog

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