Jump to content

Example of a slider - (Moved)


Recommended Posts

Hi guys! I have a example of a slider

Code:

#include <GUIConstantsEx.au3>
#include <GuiSlider.au3>
#include <WindowsConstants.au3>

Global $g_hSlider

Example()

Func Example()
        Local $hGUI

        ; Create GUI
        $hGUI = GUICreate("Example of a slider", 360, 128)
        $g_hSlider = _GUICtrlSlider_Create($hGUI, 24, 24, 144, 48)
        GUISetState(@SW_SHOW)

        ; Loop until the user exits.
        Do
        Until GUIGetMsg() = $GUI_EVENT_CLOSE
        GUIDelete()
EndFunc   ;==>Example

Mere I don't attach the same script unless it's >20 KB

Link to comment
Share on other sites

19 minutes ago, jpm said:

why the example in the help file is not working for you ?

[OT] Perhaps, because he wants to break the record of 50 posts in one day ;).

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Link to comment
Share on other sites

4 minutes ago, jpm said:

I don't understand are you referring  to the _GUICtrlSlider_Create() example?

No, with the example from the help everything is ok.

What I mean is, that @Mihai1234 seems to produce as many, partly erratic, posts as possible in a short period of time, or like @Jos already wrote in the thread create-a-folder-automatically  :

Quote

@Mihai1234 ,

Ok... please stop posting all these scripts all over the place.

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Link to comment
Share on other sites

  • Developers

@Mihai1234, You are done in these forums for the coming 2 days and won't be able to post.
I have told you now a couple of time to first Think then Post and stop posting all these subsequent posts within this short period. 
Also told you where to post which is for you only in the support forum for now!
So think about it for the next 2 days and try to understand how to behave in a forum.

Moved to the appropriate forum.

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

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