Private Declare Function SendMessageLong Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Private Const EM_SHOWSCROLLBAR = 1120
Private Const EM_SETTARGETDEVICE = 1096
Private Const SB_BOTH = 3
<...>
SendMessageLong rtf.hwnd, EM_SHOWSCROLLBAR, SB_BOTH, 1
SendMessageLong rtf.hwnd, EM_SETTARGETDEVICE, 0, 1
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 176