keybd_event(VK_CONTROL, MapVirtualKey(VK_CONTROL,0), 0,0);
keybd_event(byte('F'), MapVirtualKey(byte('F'),0), 0,0);
keybd_event(byte('F'),MapVirtualKey(byte('F'),0), KEYEVENTF_KEYUP,0);
keybd_event(VK_CONTROL, MapVirtualKey(VK_CONTROL,0),KEYEVENTF_KEYUP,0);
向当前活动窗体发送Ctrl+F。