Jump to content

How to change direction/rotate progress bars?


Recommended Posts

It's just so boring when everything is left to right, so i was wondering if it's possible to change the direction/rotate it somehow and how i would do it.

I have already found out that i can use _Progress_Create (the colors looks a bit wrong but i dont mind that...) from Auto3Lib to get one going from bottom > top, so only right > left and top > down thats missing.

Any ideas are welcome.

Link to comment
Share on other sites

fuck this, the _Progress_Create aren't deletable!! why cant anything i code work :)

I am to tired to think, i need to sleep.... i will come back later

Edited by TzarAlkex
Link to comment
Share on other sites

fuck this, the _Progress_Create aren't deletable!! why cant anything i code work :)

I am to tired to think, i need to sleep.... i will come back later

The control created by _Progress_Create can be deleted like any other windows control. Just because you can't use GUIDelete on it doesn't mean there's a problem. GUIDelete() only works on controls created by GUICreate(), which eventually gets around to calling the DestroyWindow API function. All of the Auto3Lib controls can be deleted by using DestroyWindow:

Func _API_DestroyWindow($hWnd)
  Local $aResult

  $aResult = DllCall("User32.dll", "int", "DestroyWindow", "hwnd", $hWnd)
  Return $aResult[0] <> 0
EndFunc

Next time, instead of spouting off some vulgarity, you might want to consider asking for help.

Auto3Lib: A library of over 1200 functions for AutoIt
Link to comment
Share on other sites

  • 3 weeks later...

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...