Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Changing the color of scroll bars

Changing the color of scroll bars

Scheduled Pinned Locked Moved C / C++ / MFC
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    GUEJO
    wrote on last edited by
    #1

    Hello every one ! I'd like to use a CListCtrl in my application, but the way it is displayed is not useful for me because it should be blue instead of gray. X| I looked in previous posts but I haven't found what I'm looking for : getting the scrollbars from the CListCtrl with the function GetScrollBarCtrl(...) is almost impossible, according to me...:confused: If someone has tried to do something approaching, please answer me because I don't know where I should look... :(( Thank you in advance :) Joe

    A 1 Reply Last reply
    0
    • G GUEJO

      Hello every one ! I'd like to use a CListCtrl in my application, but the way it is displayed is not useful for me because it should be blue instead of gray. X| I looked in previous posts but I haven't found what I'm looking for : getting the scrollbars from the CListCtrl with the function GetScrollBarCtrl(...) is almost impossible, according to me...:confused: If someone has tried to do something approaching, please answer me because I don't know where I should look... :(( Thank you in advance :) Joe

      A Offline
      A Offline
      aldeba
      wrote on last edited by
      #2

      you can try reading this http://msdn.microsoft.com/msdnmag/issues/01/11/c/c0111.asp

      G 1 Reply Last reply
      0
      • A aldeba

        you can try reading this http://msdn.microsoft.com/msdnmag/issues/01/11/c/c0111.asp

        G Offline
        G Offline
        GUEJO
        wrote on last edited by
        #3

        Thank you for your answer. :rose: I read that and if I understand well, I shall begin a CScrollBar child class from scratch... X| I think I will handle it in another way.... :) I actually began in this way : A <--- This a button to scroll up | <--- This a background bmp | [] <--- This a button (the box showing the current position in every scrollbar) | <--- This the same background bmp V <--- This another button to scroll down It's a bit messy but I've already done that for a slider, and that works well, so why not ?... ;) My only problem is to get rid of those f*#@^" srollbars inside the CListCtrl (disabling them by checking the 'No scroll' check box won't help : I won't be able to send some WM_VSCROLL to the CListCtrl...) :( If anyone has any idea... :)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups