fRequEnCy Posted February 4, 2009 Share Posted February 4, 2009 Hey all. Sorry if this has been brought up before. I'm having issues with a gui. When I create a gui with both a menu and a status bar then the status bar gets shifted down and is not seen within the gui. How can I get them to co-exist? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 4, 2009 Moderators Share Posted February 4, 2009 fRequEnCy, Just increase the height of your GUI by 15 or so. Adding a menu eats into the total area of a GUI, so your status bar is being pushed off the bottom! 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...
fRequEnCy Posted February 4, 2009 Author Share Posted February 4, 2009 fRequEnCy,Just increase the height of your GUI by 15 or so. Adding a menu eats into the total area of a GUI, so your status bar is being pushed off the bottom!M23That makes sense but no matter what I change the height to, my gui gets bigger and the status bar is still being pushed to the bottom. Can you post a simple example please? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 4, 2009 Moderators Share Posted February 4, 2009 fRequEnCy, Easier if you post the code you are having trouble with! 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...
fRequEnCy Posted February 4, 2009 Author Share Posted February 4, 2009 fRequEnCy, Easier if you post the code you are having trouble with! M23 Here ya go! I made a simple one just for testing. #include <GUIConstantsEx.au3> #include <GuiStatusBar.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 350, 241, 486, 228) $StatusBar1 = _GUICtrlStatusBar_Create($Form1) $MenuItem2 = GUICtrlCreateMenu("File") $MenuItem4 = GUICtrlCreateMenuItem("Open", $MenuItem2) $MenuItem3 = GUICtrlCreateMenuItem("Exit", $MenuItem2) $MenuItem1 = GUICtrlCreateMenu("About") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 4, 2009 Moderators Share Posted February 4, 2009 fRequEnCy,From the Help file for _GUICtrlStatusBar_Create:RemarksIf using GUICtrlCreateMenu then use _GUICtrlStatusBar_Create after GUICtrlCreateMenuTry it that way and see the difference!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...
fRequEnCy Posted February 4, 2009 Author Share Posted February 4, 2009 fRequEnCy,From the Help file for _GUICtrlStatusBar_Create:RemarksIf using GUICtrlCreateMenu then use _GUICtrlStatusBar_Create after GUICtrlCreateMenuTry it that way and see the difference!M23Brilliant! Thank you so much Melba23! I never noticed that remark. That will teach me not to read it more thoroughly. LOL. Thanks again! Link to comment Share on other sites More sharing options...
Zedna Posted February 5, 2009 Share Posted February 5, 2009 Use latest beta version of Koda 1.7.0.8 where is this bug fixed. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
fRequEnCy Posted February 5, 2009 Author Share Posted February 5, 2009 Use latest beta version of Koda 1.7.0.8 where is this bug fixed.That's actually the version of Koda that I'm using. Link to comment Share on other sites More sharing options...
Zedna Posted February 5, 2009 Share Posted February 5, 2009 That's actually the version of Koda that I'm using.Here is link to post where I reported this bughttp://www.autoitscript.com/forum/index.ph...st&p=587456Here is post with link to latest test Koda version which fixes this bug (it has the same version 1.7.0.8 as latest official beta)http://www.autoitscript.com/forum/index.ph...st&p=587523http://koda.darkhost.ru/koda_test.rar Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
fRequEnCy Posted February 6, 2009 Author Share Posted February 6, 2009 Here is link to post where I reported this bughttp://www.autoitscript.com/forum/index.ph...st&p=587456Here is post with link to latest test Koda version which fixes this bug (it has the same version 1.7.0.8 as latest official beta)http://www.autoitscript.com/forum/index.ph...st&p=587523http://koda.darkhost.ru/koda_test.rarAhhh thanks for the post and also thanks for all the help. Great to have such a great forum to come to when I get stuck. Link to comment Share on other sites More sharing options...
avery Posted February 6, 2009 Share Posted February 6, 2009 (edited) Ahhh thanks for the post and also thanks for all the help. Great to have such a great forum to come to when I get stuck.I was getting mine to show up at one point by moving it a good distance up but it sure wasn't WYSIWUG. Edited February 6, 2009 by avery www.abox.orgAvery HowellVisit My AutoIt Websitehttp://www.abox.org Link to comment Share on other sites More sharing options...
fRequEnCy Posted February 6, 2009 Author Share Posted February 6, 2009 (edited) I was getting mine to show up at one point by moving it a good distance up but it sure wasn't WYSIWUG.Worked well for me after Melba23's advice and have yet to try Zedna's advice. It drove me crazy to why it would disappear. I figured it had to be something simple. And worse yet it was more simple than I had hoped. Sure made me look dumb. LOL.Just tested and works great! Thanks everyone! Edited February 6, 2009 by fRequEnCy 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