[DllImport("User32.dll")] private static extern int SendMessage( IntPtr hWnd, uint Msg, int wParam, int lparam ); private const int WM_VSCROLL = 0x0115; private const int SB_BOTTOM = 7;
listBox.Items.Add(texte); SendMessage(listBox.Handle, WM_VSCROLL, SB_BOTTOM, 0 );
using System.Runtime.InteropServices;