HWND handle = FindWindowEx( ui.webView->winId(), NULL, L"WebPluginView", NULL ); if( handle ){ PostMessage( handle, WM_KEYDOWN, VK_SPACE, 0 ); PostMessage( handle, WM_KEYUP, VK_SPACE, 1 );}