Use vlc activex plugin for IE webpage,I have tried very hard for catching mouse click event in the video area on the webpage. For onmouseover/onmousemove/onmouseout can be listened. But onclick/ondbclick/onmousedown/onmouseup can not be.
I have tried with local programing, attach the follow codes in file \modules\video_output\msw\events.c under the code:case WM_LBUTTONDOWN:
{
POINT pt;
pt.x = GET_X_LPARAM(msg.lParam);
pt.y = GET_Y_LPARAM(msg.lParam);
ClientToScreen(msg.hwnd, &pt);
ScreenToClient(vd->sys->hparent, &pt);
PostMessage(vd->sys->hparent, WM_LBUTTONDOWN, msg.wParam, MAKELPARAM(pt.x, pt.y));
}
But still not work. Is there anyone farmiliar with this issue?
Aucun commentaire:
Enregistrer un commentaire