icadea Posted December 4, 2007 Posted December 4, 2007 Hi all, Just need a few pointers. Am doing a simple pad for note taking. How do i make a word wrap so that the words just not keep on going till the end of the bar. Please help. thanks #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 370, 186, 209, 127) GUICtrlCreateEdit("", 8, 16, 345, 161) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd
jvanegmond Posted December 4, 2007 Posted December 4, 2007 #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 370, 186, 209, 127) GUICtrlCreateEdit("", 8, 16, 345, 161,BitOR($ES_WANTRETURN, $WS_VSCROLL, $ES_AUTOVSCROLL)) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd github.com/jvanegmond
Nahuel Posted December 4, 2007 Posted December 4, 2007 You mean like this? #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 370, 186, 209, 127) GUICtrlCreateEdit("", 8, 16, 345, 161,$WS_VSCROLL) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd
icadea Posted December 4, 2007 Author Posted December 4, 2007 thanks manadar for showing me the steps. am grateful.
icadea Posted December 4, 2007 Author Posted December 4, 2007 thanks so much Nahuel. both of the script here are what i needed. thanks for showing 2 great steps at the same time. thanks
jvanegmond Posted December 4, 2007 Posted December 4, 2007 thanks manadar for showing me the steps. am grateful.No problem, icadea. github.com/jvanegmond
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