Windows 8(Metro)アプリでXAMLコントロールのためにHWNDを入手しましょうか。
-
09-12-2019 - |
質問
RAWビデオをフレームに書き込むつもりのネイティブDLLにHWNDを渡す必要があります。WPFでは、コントロールからのHWND参照を取得できるため、この機能が機能します。これはメトロアプリで可能ですか?
解決
It is not possible to get HWND for a control, because Metro doesn't have HWNDs.
If you can get the video stream, try using a video brush and setting the source. Otherwise, look into SharpDx library, which is a managed port of DirectX. I think you can draw 'stuff' to an element from it.
Hope this helps.
所属していません StackOverflow