Code: Select all
case WM_LBUTTONDOWN:
case WM_LBUTTONUP:
case WM_LBUTTONDBLCLK:
case WM_MBUTTONDOWN:
case WM_MBUTTONUP:
case WM_RBUTTONDOWN:
case WM_RBUTTONUP:
msg_Dbg( p_event, "msg.hwnd=%d, get WM BUTTON message %u", (int)(msg.hwnd), msg.message );
msg_Dbg( p_event, "hvideownd=%d, hparent=%d", (int)(p_event->p_vout->p_sys->hvideownd),
(int)(p_event->p_vout->p_sys->hparent) );
if ( p_event->p_vout->p_sys->hparent )
{
// re-post the event message to the parent
BOOL result = PostMessage(p_event->p_vout->p_sys->hparent, msg.message, msg.wParam, msg.lParam);
msg_Dbg( p_event, "PostMessage returned %d", (int)result);
}
else
{
msg_Dbg( p_event, "hparent window is null, no re-PostMessage");
}
break;
Return to “General VLC media player Troubleshooting”
Users browsing this forum: No registered users and 10 guests