Public Const LVM_SETEXTENDEDLISTVIEWSTYLE As Long = LVM_FIRST + 54
Public Const LVM_GETEXTENDEDLISTVIEWSTYLE As Long = LVM_FIRST + 55
Public Const LVS_EX_GRIDLINES As Long = &H1
Public Const LVS_EX_SUBITEMIMAGES As Long = &H2
Public Const LVS_EX_CHECKBOXES As Long = &H4
Public Const LVS_EX_TRACKSELECT As Long = &H8
Public Const LVS_EX_HEADERDRAGDROP As Long = &H10
Public Const LVS_EX_FULLROWSELECT As Long = &H20
Делал так
Dim xStyle As Long ', r As Long
xStyle = SendMessageLong(lvwHandle, LVM_GETEXTENDEDLISTVIEWSTYLE, 0&, 0&)
xStyle = xStyle Or LVS_EX_FULLROWSELECT
ApplyLvwStyle = SendMessageLong(lvwHandle, LVM_SETEXTENDEDLISTVIEWSTYLE, 0&, xStyle)
lHTTPGridBaseExtendedStyle = SendMessage(.HTTPGridBase.hwnd, LVM_GETEXTENDEDLISTVIEWSTYLE, 0, ByVal 0&)
SendMessage .HTTPGridBase.hwnd, LVM_SETEXTENDEDLISTVIEWSTYLE, 0, ByVal CLng(lHTTPGridBaseExtendedStyle Or LVS_EX_FULLROWSELECT Or LVS_EX_HEADERDRAGDROP)
SendMessage(lvwHandle, LVM_SETEXTENDEDLISTVIEWSTYLE, 0, ByVal xStyle&)
Сейчас этот форум просматривают: AhrefsBot, Google-бот и гости: 68