Fossil Rock Posted October 24, 2006 Posted October 24, 2006 at least not for me. Will someone verify if it works or not. opt("MustDeclareVars", 1) #include <GUIConstants.au3> #Include <GuiStatusBar.au3> Local $gui, $StatusBar1, $msg Local $a_PartsRightEdge[3] = [100, 350, -1] Local $a_PartsText[3] = ["New Text", "More Text", "Even More Text"] Local Const $Yellow = 0xffff00 $gui = GUICreate("Status Bar Set Back Color", 500, -1, -1, -1, $WS_SIZEBOX) $StatusBar1 = _GUICtrlStatusBarCreate ($gui, $a_PartsRightEdge, $a_PartsText) _GUICtrlStatusBarSetBKColor ($StatusBar1, $Yellow) GUISetState(@SW_SHOW) While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_RESIZED _GUICtrlStatusBarResize ($StatusBar1) Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;;;; EndSelect WEnd Agreement is not necessary - thinking for one's self is!
Moderators SmOke_N Posted October 24, 2006 Moderators Posted October 24, 2006 No it doesn't on mine XP Pro SP2 Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Fossil Rock Posted October 24, 2006 Author Posted October 24, 2006 Thanks. XP SP2 here also. Agreement is not necessary - thinking for one's self is!
Busti Posted October 24, 2006 Posted October 24, 2006 XP SP2 - dont work too My UDF's : Startet on : 06.06.2006_CaseSearchOrReplaceStr();~> Searches OR Replaces a String,;~> With or Without Casesensivity
GaryFrost Posted October 24, 2006 Posted October 24, 2006 XP Pro SP2 and it does work SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
GaryFrost Posted October 24, 2006 Posted October 24, 2006 If your using themes put the following at the top of the script DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", 0) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Moderators SmOke_N Posted October 24, 2006 Moderators Posted October 24, 2006 (edited) XP Pro SP2 and it does workGot me to look at the function... I think this may be breaking it on mine:StringMid($tc, 5, 2)I believe that was just fixed not to long ago, and I'm only using Beta 3.2.1.8. Edit: Just saw your new post, yes... that did it with the theme issue. Edited October 24, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
GaryFrost Posted October 24, 2006 Posted October 24, 2006 3.2.1.11 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
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