Private Sub TaskButtons_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
Dim t As RECT, pt As POINTAPI
If Button = 2 Then
GetCursorPos pt
SendMessage Forms(TaskButtons.SelectedItem.Index).hwnd, &H112, TrackPopupMenu(GetSystemMenu(Forms(TaskButtons.SelectedItem.Index).hwnd, 0), &H100, pt.x, pt.y, 0, Forms(TaskButtons.SelectedItem.Index).hwnd, t), 65536 * pt.x + pt.y
End If
End Sub
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 178