Skyfree Posted March 25, 2014 Share Posted March 25, 2014 (edited) autoit v3.3.10.2 this code: #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <GuiStatusBar.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region Local $Form1 = GUICreate("Form1", 300, 200) Local $MenuItem1 = GUICtrlCreateMenu("MenuItem1") Local $MenuItem2 = GUICtrlCreateMenuItem("MenuItem2", $MenuItem1) Local $MenuItem3 = GUICtrlCreateMenuItem("MenuItem3", $MenuItem1) Local $MenuItem4 = GUICtrlCreateMenu("MenuItem4") Local $MenuItem5 = GUICtrlCreateMenuItem("MenuItem5", $MenuItem4) Local $StatusBar1 = _GUICtrlStatusBar_Create($Form1) Local $StatusBar1_PartsWidth[2] = [260, -1] _GUICtrlStatusBar_SetParts($StatusBar1, $StatusBar1_PartsWidth) _GUICtrlStatusBar_SetText($StatusBar1, "Text1", 0) _GUICtrlStatusBar_SetText($StatusBar1, "Text2", 1) _GUICtrlStatusBar_SetMinHeight($StatusBar1, 17) GUISetState(@SW_SHOW) #EndRegion Local $nMsg While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd run: so ,where is the StatusBar?? but this code: #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <GuiStatusBar.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region Local $Form1 = GUICreate("Form1", 300, 200) Local $MenuItem1 = GUICtrlCreateMenu("MenuItem1") Local $MenuItem2 = GUICtrlCreateMenuItem("MenuItem2", $MenuItem1) GUICtrlSetState(-1, $GUI_FOCUS) Local $MenuItem3 = GUICtrlCreateMenuItem("MenuItem3", $MenuItem1) Local $MenuItem4 = GUICtrlCreateMenu("MenuItem4") Local $MenuItem5 = GUICtrlCreateMenuItem("MenuItem5", $MenuItem4) Local $StatusBar1 = _GUICtrlStatusBar_Create($Form1) Local $StatusBar1_PartsWidth[2] = [260, -1] _GUICtrlStatusBar_SetParts($StatusBar1, $StatusBar1_PartsWidth) _GUICtrlStatusBar_SetText($StatusBar1, "Text1", 0) _GUICtrlStatusBar_SetText($StatusBar1, "Text2", 1) _GUICtrlStatusBar_SetMinHeight($StatusBar1, 17) GUISetState(@SW_SHOW) #EndRegion Local $nMsg While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd run: StatusBar appeared !! is this a bug of _GUICtrlStatusBar_Create? Edited March 25, 2014 by Skyfree Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 25, 2014 Moderators Share Posted March 25, 2014 (edited) Skyfree,Yes. Although not quite the same thing, I reported a similar problem at #2588. I will add a link to this thread as well. M23Edit: Ticket amended. Edited March 25, 2014 by Melba23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
czyt Posted March 25, 2014 Share Posted March 25, 2014 congratulation!may this problem be solved in some few days!I haven't use such control yet! 董小姐,你微笑的时候很美,就像安河桥下,清澈的水... Link to comment Share on other sites More sharing options...
FireFox Posted March 25, 2014 Share Posted March 25, 2014 may this problem be solved in some few days!Pray, pray. 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