scon Posted November 7, 2008 Share Posted November 7, 2008 I can't load there RTF-file, in which more than 1000 letters. But is necessary many more. That to do? Link to comment Share on other sites More sharing options...
Madza91 Posted November 7, 2008 Share Posted November 7, 2008 ...Is possible to change color of hyperlink? [quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :) Link to comment Share on other sites More sharing options...
ProgAndy Posted November 7, 2008 Author Share Posted November 7, 2008 (edited) really not possible? can you post a file that doesn't work? @n3nE: sorry, I don't know how. Edited November 7, 2008 by ProgAndy *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
scon Posted November 7, 2008 Share Posted November 7, 2008 (edited) File loaded ok, but is seen in $h_RichEdit only approximately 1000 letters, rest is not displayed system WinXP SP2, AutoIt 3.2.12.1 Edited November 7, 2008 by scon Link to comment Share on other sites More sharing options...
ProgAndy Posted November 7, 2008 Author Share Posted November 7, 2008 try to use _GUICtrlRichEdit_LimitText(richedit,64000) ( http://msdn.microsoft.com/en-us/library/bb761607(VS.85).aspx ) *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
Madza91 Posted November 7, 2008 Share Posted November 7, 2008 try to use _GUICtrlRichEdit_LimitText(richedit,64000) ( http://msdn.microsoft.com/en-us/library/bb761607(VS.85).aspx )_GUICtrlRichEdit_LimitText(richedit,0) ... 0 = Unlimited? [quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :) Link to comment Share on other sites More sharing options...
scon Posted November 7, 2008 Share Posted November 7, 2008 YESSS!!! _GUICtrlRichEdit_LimitText($h_RichEdit,512000) Thank you so much Link to comment Share on other sites More sharing options...
ProgAndy Posted November 7, 2008 Author Share Posted November 7, 2008 (edited) @n3nE: no. 0 = 64000, but i had sometimes the problem that the default didn't work @scon: why not use the max. 64000 ? Edited November 7, 2008 by ProgAndy *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
scon Posted November 7, 2008 Share Posted November 7, 2008 _GUICtrlRichEdit_LimitText(richedit,0) ... 0 = Unlimited? no, this is importance by default Link to comment Share on other sites More sharing options...
scon Posted November 7, 2008 Share Posted November 7, 2008 @n3nE: no. 0 = 64000, but i had sometimes the problem that the default didn't work @scon: why not use the max. 64000 ?64000, this was small importance, text was cut512000 - ok (for my problem) Link to comment Share on other sites More sharing options...
Madza91 Posted November 7, 2008 Share Posted November 7, 2008 ProgAndy, what is max limit possible to set? [quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :) Link to comment Share on other sites More sharing options...
ProgAndy Posted November 7, 2008 Author Share Posted November 7, 2008 don't know. EM_SETLIMITTEXT should have limit 64000, but you were able to use bigger value ... EM_EXLIMITTEXT -> i think limited by memory *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
scon Posted November 8, 2008 Share Posted November 8, 2008 I tried to put importances 64000 128000 256000 512000, and my book is cut in different places. 512000 - a book (RTF - 1.3MB) is seen wholly, but script takes memories ~12MB from computer in each time Link to comment Share on other sites More sharing options...
scon Posted November 8, 2008 Share Posted November 8, 2008 New problem: what do HIDE for control RichEdit ? Link to comment Share on other sites More sharing options...
ProgAndy Posted November 9, 2008 Author Share Posted November 9, 2008 (edited) To hide and show RichEdit: just use WinSetState WinSetState($h_RichEdit,"",@SW_HIDE) Sleep(1000) WinSetState($h_RichEdit,"",@SW_SHOW) Edited November 9, 2008 by ProgAndy *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
scon Posted November 9, 2008 Share Posted November 9, 2008 (edited) Thank you very much ! I quite bad know autoit I was certain that this is a control, but I did't think that this is a window ) Edited November 9, 2008 by scon Link to comment Share on other sites More sharing options...
ProgAndy Posted November 9, 2008 Author Share Posted November 9, 2008 All Controls are Windows, but not all windows are controls *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
Madza91 Posted November 11, 2008 Share Posted November 11, 2008 (edited) Hey... For me example with RichEdit works, but when create it in my script i get this error: E:\AutoIt\nIRC Client\GuiRichEdit.au3(71,40) : ERROR: $E_INVALIDARG previously declared as a 'Const' Global Const $E_INVALIDARG = 0x80070057 Why? Edited November 11, 2008 by n3nE [quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :) Link to comment Share on other sites More sharing options...
ludocus Posted November 11, 2008 Share Posted November 11, 2008 Coool!.. Link to comment Share on other sites More sharing options...
ProgAndy Posted November 11, 2008 Author Share Posted November 11, 2008 (edited) Hey... For me example with RichEdit works, but when create it in my script i get this error: E:\AutoIt\nIRC Client\GuiRichEdit.au3(71,40) : ERROR: $E_INVALIDARG previously declared as a 'Const' Global Const $E_INVALIDARG = 0x80070057 Why?You have an other UDF which defines this constant. Put GUIRichEdit include on the first line, then the error shows the other include with this Const. Delete it from one of the UDFs ro prefix it with this and it will work: If Not IsDeclared("E_INVALIDARG") THen Edited November 11, 2008 by ProgAndy *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes 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