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. Problem in changing the progress abr color

Problem in changing the progress abr color

Scheduled Pinned Locked Moved C / C++ / MFC
help
1 Posts 1 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.
  • S Offline
    S Offline
    summo
    wrote on last edited by
    #1

    :cool:Problem in changing the progress abr color I want to incrementing in a progress bar in loop for(int i = 0; i < 3800; i++){ m_pb1.SetPos(i); } I just want to change the color of progress bar(i.e from blue to something else) and want to show the percentage of progress inside the progress bar. (i.e if 80% of the bar is colored then "Usage = 80%" should appear inside the progress bar). The following code is taken from a working project but it is not working in my program. m_pb1.SetTextFormat("Usage : %d%%", PBS_SHOW_PERCENT); m_pb1.SetGradientColors(RGB(206,255,157),RGB(0,130,0)); m_pb1.Invalidate(); Plz suggest me the way of doing so. Reply me soon

    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