Jump to content

problem with progressbar

Recommended Posts

Hi everyone :),

I tried to create a progress bar on win xp with win 7 interface and I did with

Posted Image

#include "GDIpProgress.au3"
$Gui = GUICreate("Gradient ProgressBar", 400, 350)
$sID = _ProgressCreate(10, 60, 300, 20)  ;BitOR($PBS_SMOOTH, $PBS_VERTICAL) here ??
_ProgressSetImages($sID, @ScriptDir & "prgimgsgreen.jpg", @ScriptDir & "prgimgsbg.jpg")
_ProgressSetFont($sID, "", -1, -1, 0x0000FF,0)
Global $i
While 1
     $i = $i + 1
     $Msg = GUIGetMsg()
          Switch $Msg
              Case $GUI_EVENT_CLOSE
If $i < 101 then
     _ProgressSet($sID, $i)
     _ProgressSetText($sID ,"")

And here is my problem: I would like to create a vertical progress bar (with win 7 interface) on xp but that UDF limit this, it only allows me to create a horizontal progress bar. Please tell me how to do this !

All answers are welcome




Edited by MrVietA2
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...