你可以这样做
'屏蔽掉TreeView的鼠标提示功能
Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long
L = GetWindowLong(userList.hwnd, GWL_STYLE)
L = L Or TVS_NOTOOLTIPS
Call SetWindowLong(userList.hwnd, GWL_STYLE, L)
请问 itcoco(无忧草) ,我应该将
L = GetWindowLong(userList.hwnd, GWL_STYLE)
L = L Or TVS_NOTOOLTIPS
Call SetWindowLong(userList.hwnd, GWL_STYLE, L)
这三句代码放在什么事件中呢.