(msg *win.MSG)
| 461 | } |
| 462 | |
| 463 | func (wv *WebView) inPlaceActiveObjectTranslateAccelerator(msg *win.MSG) win.HRESULT { |
| 464 | var ret win.HRESULT |
| 465 | ret = win.S_FALSE |
| 466 | wv.withInPlaceActiveObject(func(activeObject *win.IOleInPlaceActiveObject) error { |
| 467 | hr := activeObject.TranslateAccelerator(msg) |
| 468 | if hr == win.S_OK { |
| 469 | ret = win.S_OK |
| 470 | } |
| 471 | return nil |
| 472 | }) |
| 473 | return ret |
| 474 | } |
| 475 | |
| 476 | func (wv *WebView) inPlaceActiveObjectSetFocus() win.HRESULT { |
| 477 | var ret win.HRESULT |
no test coverage detected