Qwerty212 Posted June 3, 2010 Share Posted June 3, 2010 (edited) Hello from Barcelona, i was looking to make something like:an inverted slider next to a progressbar.But, $TBS_REVERSED is not what I'm looking for, does anybody know if it can be done in autoit?Thanks in advance. Edited June 3, 2010 by adolfito121 Link to comment Share on other sites More sharing options...
evilertoaster Posted June 3, 2010 Share Posted June 3, 2010 GUICreate("",300,60) GUICtrlCreateProgress(5,5,290,25) GUICtrlSetData(-1,5) GUICtrlCreateSlider(5,30,290,25,529) GUICtrlSetData(-1,100) GUISetState() While (GUIGetMsg()<>-3) WEnd If you mean the upside down slider cursor you're mostly out of luck. WinForms doesn't have an easy way to change the geometrical orientation of controls. You can in WPF, but that's not AutoIt. Link to comment Share on other sites More sharing options...
martin Posted June 4, 2010 Share Posted June 4, 2010 (edited) Hello from Barcelona, i was looking to make something like: an inverted slider next to a progressbar. But, $TBS_REVERSED is not what I'm looking for, does anybody know if it can be done in autoit? Thanks in advance. A bit hasty and brief but just to show a way. $g=GUICreate("arrow1") GUICtrlCreateLabel('',20,100,200,2) GUICtrlSetBkColor(-1,0xffffff) GUICtrlCreateLabel('',20,100,2,20) GUICtrlSetBkColor(-1,0xffffff) GUICtrlCreateLabel('',220,100,2,22) GUICtrlSetBkColor(-1,0x777777) GUICtrlCreateLabel('',20,120,202,2) GUICtrlSetBkColor(-1,0x777777) $p = GUICtrlCreatePic("abc1.bmp",180,99,11,21) GUISetState() for $n = 1 to 200 ControlMove($g,"",$p,200 - $n,99) sleep(100) Next sleep(5000)abc1.bmp Edited June 4, 2010 by martin Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now