gcue Posted October 11, 2012 Posted October 11, 2012 (edited) i have a resizeable gui and not sure why this icon is in the statusbar i am trying to get rid of it because covers my text. i added an additional part to get around it (with _guictrlstatusbar_setparts) - that's why you see the vertical line before the icon. i've also tried using _guictrlstatusbar_setsimple but that gets rid of the parts (i have another one i need) thanks in advance! Edited October 11, 2012 by gcue
gcue Posted October 11, 2012 Author Posted October 11, 2012 i see in the help file that its called a sizing grip. however i never specified to create it when i create the statusbar $dSTATUS = _GUICtrlStatusBar_Create($dGUI) the sizing grip icon appears when i make the gui re-sizeable
FireFox Posted October 11, 2012 Posted October 11, 2012 (edited) I have found this : http://msdn.microsoft.com/en-us/library/system.windows.forms.form.sizegripstyle.aspx oh wait... this is for the GUI I will take a look if I find how to do it in autoit. Br, FireFox. Edited October 11, 2012 by FireFox
FireFox Posted October 11, 2012 Posted October 11, 2012 If you set the GUI sizeable after creating the statusbar, then this last won't refresh to the new style : #include <WindowsConstants.au3> #include <GUIStatusBar.au3> $GUI = GUICreate("MyGUI") $dSTATUS = _GUICtrlStatusBar_Create($GUI) GUISetStyle(BitOR($GUI_SS_DEFAULT_GUI, $WS_SIZEBOX)) GUISetState(@SW_SHOW, $GUI) Br, FireFox.
FireFox Posted October 11, 2012 Posted October 11, 2012 works! great idea =)thanks firefox!You're welcome
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