How to convert a handle to a wpf window?
WPF
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, I have one problem: In code, I call a function which is provided by others and this function will pop out a dialog. The function return a object and it has long integer value. I think the value is a window handle. So how to convert this handle to a wpf window? thanks, eric
-
Hi, I have one problem: In code, I call a function which is provided by others and this function will pop out a dialog. The function return a object and it has long integer value. I think the value is a window handle. So how to convert this handle to a wpf window? thanks, eric
I assume by "window handle" you mean a Win32 HWND. WPF and Win32 Interoperation Overview[^]
Mark Salsbery Microsoft MVP - Visual C++ :java: