This topic provides an overview of how to interoperate WPF and Win32 code. Windows Presentation Foundation (WPF) provides a rich environment for creating applications. However, when you have a substantial investment in Win32 code, it might be more effective to reuse some of that code. This topic contains the following sections.
There are two basic techniques for interoperation between WPF and Win32 code.
Each of these techniques is conceptually introduced in this topic. For a more code-oriented illustration of hosting WPF in Win32, see Walkthrough: Hosting WPF Content in Win32. For a more code-oriented illustration of hosting Win32 in WPF, see Walkthrough: Hosting a Win32 Control in WPF. Read more: MSDN
- WPF and Win32 Interoperation Basics
- WPF Interoperation Projects
- How WPF Uses Hwnds
- Hosting WPF Content in a Microsoft Win32 Window
- Hosting a Microsoft Win32 Window in WPF
- Tabbing, Mnemonics, and Accelerators
- Related Topics
There are two basic techniques for interoperation between WPF and Win32 code.
- Host WPF content in a Win32 window. With this technique, you can use the advanced graphics capabilities of WPF within the framework of a standard Win32 window and application.
- Host a Win32 window in WPF content. With this technique, you can use an existing custom Win32 control in the context of other WPF content, and pass data across the boundaries.
Each of these techniques is conceptually introduced in this topic. For a more code-oriented illustration of hosting WPF in Win32, see Walkthrough: Hosting WPF Content in Win32. For a more code-oriented illustration of hosting Win32 in WPF, see Walkthrough: Hosting a Win32 Control in WPF. Read more: MSDN
0 comments:
Post a Comment