- Код: Выделить всё
Const WM_COMMAND = &H111
Const WM_MBUTTONDOWN = &H207
SendMessage(hwnd, WM_MBUTTONDOWN, 0, 0)
'или
SendMessage(hwnd, WM_COMMAND, 0, 0)
и ничего не происходит. Может надо какую-то другую комманду посылать?
Const WM_COMMAND = &H111
Const WM_MBUTTONDOWN = &H207
SendMessage(hwnd, WM_MBUTTONDOWN, 0, 0)
'или
SendMessage(hwnd, WM_COMMAND, 0, 0)
Подпись tyomitch писал(а):'Would you tell me, please, which way I ought to go from here?'
'That depends a good deal on where you want to get to,' said the Cat.
'I don't much care where--' said Alice.
'Then it doesn't matter which way you go,' said the Cat.
Const WM_LBUTTONDOWN = &H201
Const WM_LBUTTONUP = &H202
PostMessage(hwnd, WM_LBUTTONDOWN, 0, 0)
PostMessage(hwnd, WM_LBUTTONUP, 0, 0)
Сейчас этот форум просматривают: Google-бот и гости: 50