Jump to content

Recommended Posts

Posted

hi all here is a small piece of code

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

    GUICreate("My GUI UpDown", -1, -1, -1, -1, $WS_SIZEBOX)
    $input = GUICtrlCreateInput("2", 10, 10, 50, 20)
    GUICtrlCreateUpdown($input)
    GUISetState()

    While 1
        $msg = GUIGetMsg()
        If $msg = $GUI_EVENT_CLOSE Then ExitLoop
    WEnd

thing is can i locate a range that use can input or scroll to ?

so if i located the things from 1 to 20 so the use cant input or scroll more or less from that

is that possible ?

tnx in advanced

Posted

Hint... Hint...

How can you set for a 'Gui' 'Ctrl' to have a 'Set' 'Limit'

My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry. 

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
×
×
  • Create New...