BALA Posted January 2, 2007 Share Posted January 2, 2007 Here's a simple GUI I have: #include <GUIConstants.au3> Opt("GUIOnEventMode", 1) $mainwindow = GUICreate("BA-LETED", 240, 140) GUISetOnEvent($GUI_EVENT_CLOSE, "CLOSEClicked") GUISetState() GUICtrlCreateLabel("Type in the path of the directory you want to scan and press 'BA-LETE' to start scanning.", 10, 10) $input = GUICtrlCreateInput("C:\", 30, 60, 180, 20) $begin = GUICtrlCreateButton("BA-LETE", 60, 100, 120) GUICtrlSetOnEvent($begin, "Begin") How can I make it so all the writing shows in the window without having to make the window wider? [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
BALA Posted January 2, 2007 Author Share Posted January 2, 2007 (edited) Will that "word wrap" the writing? Ah, yes thank you. Edited January 2, 2007 by BALA [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
_Kurt Posted January 2, 2007 Share Posted January 2, 2007 (edited) Well, I see that you have NOT specified the width and length of the label. So change this: GUICtrlCreateLabel("Type in the path of the directory you want to scan and press 'BA-LETE' to start scanning.", 10, 10)oÝ÷ Ù:-+ºÚ"µÍÕRPÝÜX]SX[ ][ÝÕH[H]ÙHXÝÜH[ÝHØ[ÈØØ[[ÜÈ ÌÎNÐKSUIÌÎNÈÈÝØØ[[Ë][ÝËLL oÝ÷ ج¶)µçmç^²*Þw¶§v¢H*.«Þz÷§ÞµìmÊjv¥²!jxÛh¶¬jëh×6GUICtrlCreateEdit("Type in the path of the directory you want to scan and press 'BA-LETE' to start scanning.", 10, 10, 220, 40, $ES_READONLY + $WS_VSCROLL + $ES_AUTOVSCROLL) Kurt *Edit* Larry beat me to it Edited January 2, 2007 by _Kurt Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
BALA Posted January 2, 2007 Author Share Posted January 2, 2007 yeah, but interesting enough, your width and height are the same as mine [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
_Kurt Posted January 2, 2007 Share Posted January 2, 2007 Hehe, I'm pretty good with estimating that stuff Kurt Awaiting Diablo III.. 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