In my script, I'm dealing with long text strings that don't contain spaces. The current settings for a label control is to do a line break when the text is long and it identifies a space character. My question is if it's possible to make it do a line break when the label text reaches its borders, regardless of a space char. Here's an example #include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("", 615, 438, 192, 124)
$Label1 = GUICtrlCreateLabel("longgggggggggggggggggggggGgGgGgggggggggggg", 160, 112, 80, 34)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
I want the text to drop down one line when 80 pixels of text are reached.