Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long, ByVal nwNewLong As Long) As Long
Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long) As Long
Const GWL_STYLE = (-16)
Const ES_NUMBER = &H2000
...
f& = GetWindowLong(Text1.hWnd, GWL_STYLE)
r& = SetWindowLong(Text1.hWnd, GWL_STYLE, f& Or ES_NUMBER)
Сейчас этот форум просматривают: Majestic-12 [Bot], Yandex-бот и гости: 104