Sign in to follow this  
Followers 0
AdmiralAlkex

How to change direction/rotate progress bars?

5 posts in this topic

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.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

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

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

Posted Image

Share this post


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
Sign in to follow this  
Followers 0