Jump to content
Sign in to follow this  

A3LWinAPI.au3 - _API_SendMessage in 3.2.10.+ ?

Recommended Posts


I tried to find what is the new form of _API_SendMessage after 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);
        _GUICtrlEdit_ReplaceSel($hWnd, $iText, False);
EndFunc   ;==>_RichEdit_AddLine


Edited 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 :)

Share this post

Link to post
Share on other sites


Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.