Windows 8 (Metro) 응용 프로그램에서 XAML 컨트롤에 대한 HWND를 가져 오십시오.
-
09-12-2019 - |
문제
프레임에 원시 비디오를 작성하려는 기본 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