WPF-Win32 Interop Part 2: Hosting Win32 Controls (ListBox) in WPF Windows

Introduction This article describes hosting of a Win32 user control in a WPF window. It is supplemented by the following two projects, which show working examples of the material presented in the document: Win32ControlInWpfWindow_CompositeWin32Messages Win32ControlInWpfWindow_SimpleWin32Messages The only difference between the two projects is the Win32ListBoxHost.cs file. The differences between the two versions of the file…

10