VC向flash播放器发送模拟按键消息?

2024-12-03 12:21:38
推荐回答(1个)
回答1:

::SendMessage((HWND)(GetDlgItem(IDC_FLASHPLAYER))->GetSafeHwnd(),WM_KEYDOWN,59,0);//按下7

IDC_FLASHPLAYER为控件ID