dbzfanatic Posted August 28, 2008 Share Posted August 28, 2008 Does GuiCtrlCreateEdit() have a limit? When I count up in hex I'm able to go from 0 to BB7(2999) but no farther, yet I can tell that my script is still counting since the edit control flashes as if it's trying to update. I looked in the helpfile and I didn't see anything about it having a display limit but I could have missed it, if there is one could someone please tell me what it is? If it helps my script displays like this: 00000000 00000001 00000002 00000003 ... 00000BB5 00000BB6 00000BB7 Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
BrettF Posted August 28, 2008 Share Posted August 28, 2008 Maybe have a read of http://msdn.microsoft.com/en-us/library/ms997530.aspx.Also, a sample code would be nice.... Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
rover Posted August 28, 2008 Share Posted August 28, 2008 from helpfile _GUICtrlEdit_SetLimitText($hWnd, $iLimit) MsgBox(4160, "Information", "Text Limit: " & _GUICtrlEdit_GetLimitText($hEdit)) MsgBox(4160, "Information", "Setting Text Limit") _GUICtrlEdit_SetLimitText($hEdit, 64000) MsgBox(4160, "Information", "Text Limit: " & _GUICtrlEdit_GetLimitText($hEdit)) I see fascists... Link to comment Share on other sites More sharing options...
dbzfanatic Posted August 28, 2008 Author Share Posted August 28, 2008 #include <GUIConstants.au3> #include <WindowsConstants.au3> #include <StaticConstants.au3> #include <GUIConstantsEX.au3> #include <GuiEdit.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Counting in Hex", 194, 274, 193, 125) $Edit1 = GUICtrlCreateEdit("", 0, 0, 194, 273, -1) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### Dim $n, $string While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch For $n = 0 To Dec("FFFFFFF") $string = Hex($n) & @CRLF _GUICtrlEdit_AppendText($Edit1,$string) Next WEnd That's my full code, and I saw the limit for my text, it's 32,767. Is there anything that would be able to hold more text? I only know of input and edit boxes. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
BrettF Posted August 28, 2008 Share Posted August 28, 2008 You must have missed rovers post.... #include <GUIConstants.au3> #include <WindowsConstants.au3> #include <StaticConstants.au3> #include <GUIConstantsEX.au3> #include <GuiEdit.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Counting in Hex", 194, 274, 193, 125) $Edit1 = GUICtrlCreateEdit("", 0, 0, 194, 273, -1) _GUICtrlEdit_SetLimitText($Edit1, 64000) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### Dim $n, $string While 1 For $n = 0 To Dec("FFFFFFF") $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch $string = Hex($n) & @CRLF _GUICtrlEdit_AppendText ($Edit1, $string) ToolTip ($string) Next WEnd Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! 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