GaryFrost Posted September 15, 2006 Share Posted September 15, 2006 You would have to create an owner-drawn statusbar, this one is not owner-drawn. Owner draw is not needed. It's very simple: #include <GUIConstants.au3> #Include <GuiStatusBar.au3> Local $a_PartsRightEdge[3] = [100, 350, -1] Local $a_PartsText[3] = [@TAB & @TAB & "New Text", "Left" & @TAB & "Center" & @TAB & "Right", "Even More Text"] $gui = GUICreate("Status Bar Create", 500, -1, -1, -1, $WS_SIZEBOX) $StatusBar1 = _GUICtrlStatusBarCreate ($gui, $a_PartsRightEdge, $a_PartsText) GUISetState(@SW_SHOW) While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_RESIZED _GUICtrlStatusBarResize ($StatusBar1) Case $msg = $GUI_EVENT_CLOSE ExitLoop EndSelect WEnd missed that bit of information. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Zedna Posted September 15, 2006 Share Posted September 15, 2006 missed that bit of information.Source of usefull informations for statusbars:http://msdn.microsoft.com/library/default....tus/reflist.asphttp://msdn.microsoft.com/library/default....atus/status.asp Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
GaryFrost Posted September 15, 2006 Share Posted September 15, 2006 Source of usefull informations for statusbars:http://msdn.microsoft.com/library/default....tus/reflist.asphttp://msdn.microsoft.com/library/default....atus/status.aspYes I all to familiar with the locations, was easy to miss \t info in the 2nd paragraph in Status Bar Text Operations. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. 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