strongy Posted April 24, 2014 Share Posted April 24, 2014 Hi All, I have a script which worked fine with AutoIt v3.3.8.1, after upgrading to v3.3.10.2 it's no longer working. I am wondering if something has changed that I am missing. All I am trying to do here is display a Menu bar and a status bar at the same time. If I remove the menu bar GUICtrlCreateMenu("&File") the Status bar shows. It's almost as if the Menu bar is pushing the status bar down as I can see the top of the status bar showing slightly. #include <GuiStatusBar.au3> #include <GuiMenu.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> _main() Func _main() Local $form1, $filemenu, $exit_butt, $statusbar $Form1 = GUICreate("test", 640, 350, -1, -1) ;- Omitting the GUICtrlCreateMenu will allow the statusbar to show $filemenu = GUICtrlCreateMenu("&File") ;- Status bar does not show if GUICtrlCreatemenu is used. $statusbar = _GUICtrlStatusBar_Create($Form1) Local $statusparts[3] = [200, 400, -1] _GUICtrlStatusBar_SetParts($statusbar, $statusparts) $exit_butt = GUICtrlCreateButton("Exit", 485, 245, 60, 25) GUISetState(@SW_SHOW) Local $nMsg While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $exit_butt Exit EndSwitch WEnd EndFunc ;==>_main I do see some changes have been made to the UDF components for the Statusbar, but not sure if that's related. Thanks for the help. Strongy Link to comment Share on other sites More sharing options...
Moderators Solution Melba23 Posted April 24, 2014 Moderators Solution Share Posted April 24, 2014 strongy,This problem has already been reported here #2588 - and the workaround solution I developed is shown in M23 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...
strongy Posted April 24, 2014 Author Share Posted April 24, 2014 Thanks Melba.. Worked perfectly Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted April 24, 2014 Moderators Share Posted April 24, 2014 strongy,Glad I could help. M23 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...
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