Announcement

Collapse
No announcement yet.

My Progress Bar is allways Blue - and so am I :(

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • My Progress Bar is allways Blue - and so am I :(

    I use Windows98SE on a 400Mhz platform with 180MB of ram. So why can't i make my progress bar Red?

    CASE %WM_INITDIALOG
    REDIM hBrush(1 TO 2)
    REDIM hDC(0 TO 2)
    REDIM hBmp(1 TO 2)
    REDIM Clr(1 TO 2)
    hBrush(1) = CreateSolidBrush(RGB( 0, 0, 255))
    hBrush(2) = CreateSolidBrush(RGB(255, 255, 255))
    ............

    ------------------
    Kind Regards
    Mike

  • #2
    RGB means Red - Green - Blue and red color is RGB(255, 0, 0)

    You can also simply use CreateSolidBrush (%Red)

    [This message has been edited by Semen Matusovski (edited February 14, 2001).]

    Comment


    • #3
      I tried everything but no change. Then i re-booted....
      Now everything is fine


      Thx Semen.

      ------------------
      Kind Regards
      Mike

      Comment

      Working...
      X