enaiman Posted May 30, 2008 Share Posted May 30, 2008 (edited) I tried to find what is the new form of _API_SendMessage after 3.2.10.0 but I had no success. GaFrost said that almost all functions from that big pack of UDFs were ported to AutoIt - I haven't been able to find something similar in _WinAPI_... list of functions. Could someone tell me please which function I should use? This is the code giving me troubles: Func _RichEdit_AddLine($hWnd, $iText, $hLine = True) Local $hTextLengh $hTextLengh = _API_SendMessage ($hWnd, $WM_GETTEXTLENGTH, 0, 0); _API_SendMessage ($hWnd, $EM_SETSEL, $hTextLengh, $hTextLengh); If $hLine Then _GUICtrlEdit_ReplaceSel($hWnd, $iText & @CRLF, False); Else _GUICtrlEdit_ReplaceSel($hWnd, $iText, False); EndIf EndFunc ;==>_RichEdit_AddLine Thanks, Edited May 30, 2008 by enaiman SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
NELyon Posted May 30, 2008 Share Posted May 30, 2008 _SendMessage() Link to comment Share on other sites More sharing options...
enaiman Posted May 30, 2008 Author Share Posted May 30, 2008 Thanks That was fast SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) 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